Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

sort -increasing order

 
sina milka
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi one and all,
I HAVE A TEXT FILE LIKE THIS
student id marks
001 154
002 144
003 132
004 175
005 163
: :
: : LIKE THAT.
now i have to sort the entire data according to the marks in increase order.should it be wriiten in a normaal coding usinf if else or is there any specific methods for such operations like sort().i read thru the sort, set and collections but i could not make out how to implement them with my problem.respond ASAP please.thanx in advace.
bye
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.
Let's continue this in the Intermediate forum...
 
    Bookmark Topic Watch Topic
  • New Topic