In 1.5, you'll have to keep track of the last headers clicked (via the headerRelease event) and keep adjusting a custom sortCompareFunction to do the sort.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of newtoflexworld Sent: Thursday, March 29, 2007 6:47 AM To: [email protected] Subject: [flexcoders] IUrgent : Can we do a subsort on datagrid column in Flex 1.5 Hi All, I have a datagrid with 10 columns. Is it possible to sort on a column (lets say A) such that simultaneously a secondary sort (or subsort) is done on a second column (lets say B) In other words, if I click on the header of column A, the datagrid should be sorted on column A with a subsort on column B. Is it possible to do so in Flex 1.5 Thanks Sweta

