All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

sort-object-items-by Function

Summary

Sorts items according to a sorted-object.

Package

capi

Signature

sort-object-items-by sorted-object items => result

Arguments
sorted-object
An instance of sorted-object or a subclass.
items
A list.
Values
result
A permutation of items.
Description

The function sort-object-items-by sorts items according to the current sort type of sorted-object, as set by sorted-object-sort-by.

Notes
  1. If the sort type is reversed, items will be sorted in reverse order.
  2. The sorting may be destructive, that is items may be modified during a call to sort-object-items-by.
See also

sorted-object
sorted-object-sort-by
sorted-object-sorted-by


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42