The problem with this part is that I have to be able to do both ascending
and descending sort and I must also be able to do other similar sort for the
other fields as well which I have explained to my best ability in my
previous mail.

thanx
Prasad

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Downall
Sent: Tuesday, May 07, 2002 10:17 PM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: Sort by date


On Tue, 7 May 2002 21:12:37 +0530, Prasad Ramalingam wrote:

>can anyone help me in sorting an array which contains date values

Prasad,

When you load the array, be sure the values are values that will sort in
the right order. This could simply be the date in a format of YYYY-MM-
DD.

When you present the date in your html, you can always use the
format=datetime: attribute to display the value whatever way you like.

Bill




________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to