Hope this helps if your output is matching


#1

Absolutely destroyed my points trying to figure this out, but I hope this helps anyone stuck when the output strings appear to match.

| sort -n | awk '{$1=$1;print}'

I had to sort each line lexicographically and trim the trailing space.