Help for this page

Select Code to Download


  1. or download this
           system ("sort -n -t , -k 1,3 input_file.txt > ss.txt");
           rename (ss.txt,  input_file.txt);
    
  2. or download this
           -k, --key=POS1[,POS2]
             start a key at POS1, end it at POS 2 (origin 1)
    ...
    
     -n, --numeric-sort
                  compare according to string numerical value