function
| Library: Sorting (OMSORT) Import : omsort.xmd | 
export overloaded function sort-by-value modifiable integer shelf-to-sortor
export overloaded function sort-by-value modifiable stream shelf-to-shortor
export overloaded function sort-by-value modifiable string shelf-to-short
Argument definitions
 Use sort.sort-by-value to sort shelf-to-sort according to its values in ascending
      order. shelf-to-sort can have type integer, stream, or string.
      
 If shelf-to-sort is a stream shelf, then it must 
        
referents-allowed, otherwise
          error 6059 will be thrown, and
          
 The following example sorts a list of string values:
        
import "omsort.xmd" prefixed by sort. process local string string-test-shelf variable initial { "foo", "bar", "sna" } sort.sort-by-value string-test-shelf repeat over string-test-shelf output string-test-shelf || "%n" again