@@ -20,6 +20,9 @@ list must have the same type.
2020
2121# Special Folds
2222@docs sum, product, maximum, minimum, all, any, and, or
23+
24+# Sorting
25+@docs sort
2326-}
2427
2528import open Basics
@@ -224,3 +227,7 @@ drop = Native.List.drop
224227-}
225228repeat : Int -> a -> [a]
226229repeat = Native.List.repeat
230+
231+{-| Sort a list in ascending order. -}
232+sort : [comparable] -> [comparable]
233+sort = Native.List.sort