This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes sort a csv file having phone numbers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » I/O and Streams
Reply locked New topic
Author

sort a csv file having phone numbers

fioana elegant
Greenhorn

Joined: Oct 06, 2010
Posts: 16
how can i sort a csv file having msisdn (phone numbers)???

example:
9999912345
9999912354
9932445566

need to b sorted like
9932445566
9999912345
9999912354
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

How about putting the values in a list and then sort it?


Swastik
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8914
    
    8

Please do not post the same question more than once.
CarefullyChooseOneForum


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
GeeCON Prague 2014
 
subject: sort a csv file having phone numbers