chickadee » srfi-132 » list-sort!

list-sort! < lisprocedure
list-stable-sort! < lisprocedure

These procedures are linear update operators--they are allowed, but not required, to alter the cons cells of their arguments to produce their results. They return a sorted list containing the same elements as lis.

The list-stable-sort! procedure is equivalent to the SRFI 95 sort! procedure when applied to lists, except that it does not accept a key procedure.