I want to sort records based on their integer value in descending order:
Example:
name1, 4 name2, 6 name3, 3 name4, 5
Should be re - arranged to this:
name2, 6 name4, 5 name1, 4 name3, 3
I've tried using the Array.Sort but I could not get it working.
As always I appreciate all of your help.
1is a numeral and has no more value than "n" or "a". You likely need to split the data into the text portion and numeric portion for the sorting. If you parse it into a Class of Name/Value you perhaps could make use of aSortedList