This discussion is archived
4 Replies Latest reply: Dec 26, 2012 12:17 PM by aksarben RSS

Sorting a text file on a specific column

747731 Newbie
Currently Being Moderated
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?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points