I have class named account i am entring information account[0].id=5; account[0].name=roben; Another information account[1].id=4; account[1].name=roz; The problem i wanna sort information, It depends on the id number of the smallest to largest with change name also After sort Index account.id [0 1] [4 5] Index account.name [0 1 ] [Roz Roben]
Cause i wanna use binary search