# HELP! - Sorting a Datagrid column filled with Dates

**URL:** <https://forum.kirupa.com/t/help-sorting-a-datagrid-column-filled-with-dates/277226>\
**Category:** flash\
**Created:** [December 9, 2008, 6:40pm UTC](https://forum.kirupa.com/t/help-sorting-a-datagrid-column-filled-with-dates/277226 "2008-12-09T18:40:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpang](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tpang](https://forum.kirupa.com/u/tpang)\
**Post date:** [December 9, 2008, 6:40pm UTC](https://forum.kirupa.com/t/help-sorting-a-datagrid-column-filled-with-dates/277226/1 "2008-12-09T18:40:07Z")

</div>

I have a flash datagrid with one of the columns displaying a date in the mm/dd/yyyy format. The current sorting algorithm provided by the flash datagrid does not sort dates.

When the user clicks on the column header that contains these dates, I need it to sort in ascending or descending order. How can I achieve this? Please help

Thanks in advance
