ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | >> List << | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | List |
---|---|
Function: | sort |
Type: | Ord a => [a] -> [a] |
Description: | sort/sortBy implement a stable sorting algorithm |
Related: | group, groupBy, inits, intersperse, mapAccumL, mapAccumR, nub, nubBy, partition, sortBy, tails, transpose |
Input: sort [1,3,5,2,4,1]
Output: [1,1,2,3,4,5]
Input: sort "Zvon.org"
Output: ".Zgnoorv"