consider my input file has the following data
date type of transaction amount
1 w 100
2 d 230
3 d 550
4 w 430
5 d 1100
6 d 400
so i need to sort the amount in ascending order.So when i sort the amount,the corresponding date and transaction also needs to be sorted.I want the solution when we use arraylists for sorting.Could you help me?