4 Replies Latest reply: Dec 26, 2012 2:17 PM by aksarben RSS

    Sorting a text file on a specific column

    747731
      I have a large text file. It has 5 column. I'd like to sort the text file with column no 3

      sample file

      add,even,4,3,philip
      not,binary,7,8,mith
      yahoo, google,3,5,not


      output will be

      yahoo, google,3,5,not
      add,even,4,3,philip
      not,binary,7,8,mith

      can i use map/Treemap here?