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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top