wood burning stoves
The moose likes JSP and the fly likes Display values in chronological order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Display values in chronological order" Watch "Display values in chronological order" New topic

Display values in chronological order

prathimaprasun rao
Ranch Hand

Joined: Jun 29, 2006
Posts: 55
Hello everyone,
I have a form with three fields- sname, rank and date. The date field is still tokenized into day, month and year. The format of the date is mm/dd/yy.I have a text area where I can display all the values entered in the three fields.If my text area has values as follows:

I want the values to be sorted in the chronological order and the values should appear as follows in the text area:

Could any one tell me the way to display the values in the required order?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32609

The first thing to do is decide whether you want to sort on the server (Java) or client (JavaScript.)

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: Display values in chronological order
It's not a secret anymore!