Sorting.

  • Thread starter Thread starter dishan
  • Start date Start date
D

dishan

Hi ,
Is there any way to sort Key Value pair on Value.
Say
1,"AA"
2,"XX"
3,"BB"

Result would be
1,"AA"
3,"BB"
2,"XX"

Cheers
Dishan
 
in what kind of data structure ?

if your using arrays or custom structures there are many sorting
algorithms you can use...
 
Back
Top