This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes sort -increasing order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

sort -increasing order

sina milka

Joined: Jan 30, 2004
Posts: 7
hi one and all,
student id marks
001 154
002 144
003 132
004 175
005 163
: :
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.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
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...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
wood burning stoves
subject: sort -increasing order
Similar Threads
using for:each in xsl
Whats this ?
sorting data in increasing order
Multi dimensional arrays
Two Dimentional Array