Message 1 of 5
Not applicable
12-21-2015
06:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently using this function by Swordslayer to sort my collection of children in a parent:
fn CompareNames str1 str2 = stricmp str1.name str2.name
Problem is, it doesn't handle alphanumeric names. A lot of the children have a numeric prefix. When treated as a string, like in the function above, 10-name is sorted before 4-name. Trying to get my sorted children to match the order in Max (sorted ascending).
Any suggestions on how to sort alphanumerically?
Thank you in advance for your help.
Solved! Go to Solution.
