Command: custom_sort
 
Syntax: 
  include sort.e  
  s2 = custom_sort(i, s1)
  
Description: 
  Sort the elements of sequence s1, using a compare function with
  routine id i.
  
Comments: 
  Your compare function must be a function of two arguments
  similar to Euphoria's compare. It will compare two objects 
  and return -1, 0 or +1.
  
Example Program: 
 demo\csort.ex

See Also: 
  sort, compare, routine_id
  
