09-29-2017, 08:40 PM
Thanks!
I made my 'other column' sortfunction like this (where I intend to sort on the 3rd column):
Function DateColumnSort
Then I call it as such (for a descending (most recent first) date sort on the values in zero-order column 2 (3rd column):
It seems to be working!
Thanks so much,
S
I made my 'other column' sortfunction like this (where I intend to sort on the 3rd column):
Function DateColumnSort
;/
function# param str&a str&b
&a=&a+(3*sizeof(a))
&b=&b+(3*sizeof(b))
ret StrCompare(b a)
Then I call it as such (for a descending (most recent first) date sort on the values in zero-order column 2 (3rd column):
ARRAY(str) arrGrid ;; filled with dates in zero-order column 2 (3rd column)
str d
arrGrid.sort(1|0x100 DateColumnSort &d )
It seems to be working!
Thanks so much,
S