Idea: Model sorting action

It would be convenient to be able to sort a model by a specific field using the actions framework.

You can run a one-line snippet, like so:

skuid.$M('MyModel').orderByClause = 'Date__c DESC';

That’ll work! Thanks

Matt, thanks for sharing that awesome snippet! 

Raymond, I will mark this as an idea for our developers to consider for future releases.

Thanks!
Karen

What am I missing to make this work?


I don’t see anything wrong with the snippet. Make sure all your names are correct. I can’t remember if you have to requery after the snippet. Give that a try.

Doh, I was missing the follow-up query action. Thanks!