Sort Lines

Sort lines of text alphabetically in ascending (A→Z) or descending (Z→A) order.