Sort a list with one item per line
Paste each entry on its own line, choose the direction, and apply the sort. An A-to-Z sort puts pear, apple, banana into apple, banana, pear. Keep any column headings out of the input if they need to stay above the sorted entries.
Check spacing, duplicates, and numbers
Sorting keeps duplicate and blank lines. Remove those separately if the output is meant to be a unique list. This is a text sort, so an entry starting with 10 can appear before one starting with 2. For a consistently ordered sequence of labels, use the same number of digits, such as 02 and 10.