sort-lines

sort-lines is an interactive autoloaded compiled Lisp function in `sort.el'.


(sort-lines REVERSE BEG END)

Sort lines in region alphabetically; argument means descending order.
Called from a program, there are three arguments:
REVERSE (non-nil means reverse order), BEG and END (region to sort).
The variable `sort-fold-case' determines whether alphabetic case affects
the sort order.