Handbook
Glossary
inv-sort ( seq -- sortedseq )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Sorting sequences
Prev:
sort ( seq -- sortedseq )
Next:
sort-by ( seq quot: ( elt -- key ) -- sortedseq )
Vocabulary
sorting
Inputs
seq
an
object
Outputs
sortedseq
an
object
Definition
USING:
math.order
;
IN:
sorting
:
inv-sort
( seq -- sortedseq )
[
>=<
]
sort-with
;