in reply to Re: Data with Letter(s) & Number sort query
in thread Data with Letter(s) & Number sort query

sort { $a cmp $b }

Note that the  $a cmp $b "lexicographic ascending" sorting order is the default ordering of sort, so this expression can be replaced with just  sort (i.e, no  { $a cmp $b } code block) wherever it appears here for a significant speed increase for sufficiently large data arrays — but they may have to be quite large!


Give a man a fish:  <%-{-{-{-<