sorting vocabulary
Factor handbook > Vocabulary index


Documentation
Sorting sequences

Meta-data
Tags:collections, algorithms
Authors:Slava Pestov


Words

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


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


Files


Children from resource:basis
VocabularySummary
sorting.functorsorting.functor vocabulary
sorting.humanCorrect sorting of sequences of strings with embedded numbers
sorting.insertionInsertion sort
sorting.slotsSorting by tuple slots
sorting.titlesorting.title vocabulary


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


Children
VocabularySummary
sorting.privatesorting.private vocabulary