File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display values in chronological order

 
prathimaprasun rao
Ranch Hand
Posts: 55
  • 0
  • 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
Marshal
Posts: 33700
316
Eclipse IDE Java VI Editor
  • 0
  • 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.)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic