Sort text lines in various ways.
A-Z sorts alphabetically. Reverse sorts Z-A. Length sorting arranges by character count. Shuffle randomizes the order.