Example list sorted from left to right.
DATA2 DATA4 FILE1 FILE3
Example list sorted from right to left.
FILE1 DATA2 FILE3 DATA4
How do I do this?
Where file contains the content needing to be sorted.
All it does is reverse each line before applying sort, then reverses each line back again.