compare-with-spec ( obj1 obj2 sort-spec -- <=> )
Sorting by multiple keys

Next:sort-with-spec ( seq sort-spec -- seq' )


Vocabulary
sorting.specification

Inputs
obj1an object
obj2an object
sort-speca sequence of sequences of accessors/quotations and a comparator


Outputs
<=>+lt+, +eq+ or +gt+


Word description
Compares two objects using a chain of intrinsic linear orders such that if two objects are +eq+, then the next ordering is tried.

Definition