sort table on REST model

Is there a way to use the typical ‘make sortable’ feature for table columns with REST models?

I want to know this too! Has anyone found an elegant solution to this?