flexgrid - sort by date type

deell
08-05-2005, 01:39 AM
after i put in few rows of data in FlexGrid, 1 of the columns is Date type, then i want to sort by this 'Date' column, but it treat this column as String type.

it suppose to be like this:
18/11/2004
25/12/2004
21/01/2005
15/03/2005

but the Sort function return this:
15/03/2005
18/11/2004
21/01/2005
25/12/2004

i had try flexgrid1.Sort = 1 to 9, it still cannot give the correct sorting.
please help.

thank you.

Flyguy
08-05-2005, 02:26 AM
Have a look at the .. thread for some custom sorting.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum