numsort
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | numsort [2006/07/17 03:42] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: numsort.txt, | ||
+ | ======Synopsis: | ||
+ | $__numsort__(< | ||
+ | |||
+ | ======Technical: | ||
+ | This function sorts the word list //< | ||
+ | The numbers in //< | ||
+ | Non-numeric words are sorted in ascii order between 0 and 1. | ||
+ | Numbers embedded within words in //< | ||
+ | |||
+ | ======Returns: | ||
+ | the given list, sorted in numerical order | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $numsort(4 -6 34 -96 0) returns "-96 -6 0 4 34" | ||
+ | $numsort(4 -6 34 -96 0 Erf blah) | ||
+ | $numsort(boox boo1 boo0 boo-4) | ||
+ | </ | ||
+ | |||
numsort.txt · Last modified: 2006/07/17 03:42 by 127.0.0.1