Next Up Previous Contents
Next: Anonymous routine
Up: Common functions for the Starlink stylesheets
Previous: list-difference
[ID index][Keyword index]

sort-list

Description

Given a list and a sorting predicate (which returns true if its first argument should be taken to be less-than-or-equal to its second), return a sorted list. Fairly simple shell sort, but seems to work!

Return value

Type: list

Sorted list of the elements in the input list.


Next Up Previous Contents
Next: Anonymous routine
Up: Common functions for the Starlink stylesheets
Previous: list-difference
[ID index][Keyword index]