ssort

enhanced lsort:
by D. Richard Hipp -- drh@tobit.vnet.net -- 704.948.4565 :
by Peter De Rijk :
extra option -reflist: sort the elements in the list according to the comparisons of the corresponding elements in the reflist.
ssort ?-ascii? ?-integer? ?-real? ?-increasing? ?-decreasing? ?-dictionary? ?-command string? ?-reflist list? list