sorting vocabulary
Factor handbook ยป Vocabulary index


Documentation
Sorting sequences

Metadata
Tags:collections, algorithms
Authors:Slava Pestov


Words

Generic words
WordStack effect
inv-sort-keys( obj -- sortedseq )
inv-sort-values( obj -- sortedseq )
sort-keys( obj -- sortedseq )
sort-values( obj -- sortedseq )


Ordinary words
WordStack effect
inv-sort( seq -- sortedseq )
inv-sort-by( seq quot: ( elt -- key ) -- sortedseq )
inv-sort-with( seq quot: ( obj1 obj2 -- <=> ) -- sortedseq )
natural-sort( seq -- sortedseq )
sort( seq -- sortedseq )
sort-by( seq quot: ( elt -- key ) -- sortedseq )
sort-pair( a b -- c d )
sort-with( seq quot: ( obj1 obj2 -- <=> ) -- sortedseq )


Files


Metadata files


Children from resource:basis
VocabularySummary
sorting.functor
sorting.humanCorrect sorting of sequences of strings with embedded numbers
sorting.insertionInsertion sort
sorting.specificationSorting by multiple keys
sorting.title


Children from resource:extra
VocabularySummary
sorting.bubbleBubblesort
sorting.extras
sorting.heapHeapsort
sorting.quickQuicksort