Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Display values in chronological order  RSS feed

 
prathimaprasun rao
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
aaa-1-01/27/08
bbb-2-01/28/08
ccc-3-01/28/07

I want the values to be sorted in the chronological order and the values should appear as follows in the text area:
ccc-3-01/28/07
aaa-1-01/27/08
bbb-2-01/28/08

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

Thanks,
Prathima.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prathima,
The first thing to do is decide whether you want to sort on the server (Java) or client (JavaScript.)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!