Help for this page

Select Code to Download


  1. or download this
    cat test.txt | sed -e's/\(.*\) \(.*\)/\2,\1/g' | sort
    
  2. or download this
    $ sort +1 -2 +0 -1 <test.txt >output.txt