Is there a way to sort dates in yui without having to define your own sorting implementation?
+1
A:
Yes they do. However, you have to use date objects and define the column as type date in your dataset. I have found an easier way is to put your dates in to the data set as strings in the following format
2010-04-10
This will allow you to use the default string sorting function and it will sort the dates properly. Then just put a formatter on that same column to format the date however you like.
Zoidberg
2010-09-01 19:57:41
thanks! it was helpful.
stevebot
2010-09-01 20:13:49