Task: Sort a List of Words Alphabetically
Task: Sort a List of Words Alphabetically: a task in Terminal-Lego-15k (Harbor dataset). You have a text file containing a large list of words (one word per line). Your task is to sort this list alphabetically in both ascending (A-Z) and descending (Z-A) order using Linux command-line tools.
The task
You have a text file containing a large list of words (one word per line). Your task is to sort this list alphabetically in both ascending (A-Z) and descending (Z-A) order using Linux command-line tools.
Part of PrimeIntellect/Terminal-Lego-15k.