Current sort order of foundset

Anyone know if there is a function call to find out what the current sort order of a foundset is so I can save this to a variable?

Hi,

try this

var $sortOrder = foundset.getCurrentSort()

Regards,

Peter

Thanks! Duh! not sure why I never saw that :)