Human-friendly sorting


The sorting.human vocabulary sorts by numbers as a human would -- by comparing their magnitudes -- rather than in a lexicographic way. For example, sorting a1, a10, a03, a2 with human sort returns a1, a2, a03, a10, while sorting with natural sort returns a03, a1, a10, a2.

Comparing two objects:
human<=> ( obj1 obj2 -- <=> )

human>=< ( obj1 obj2 -- >=< )


Splitting a string into substrings and integers:
find-numbers ( sequence -- sequence' )