On the following Dojo example you can find a simple Scheduler implementation, where I have demonstrated in the click event of a button how to sort the Scheduler resources.
To achieve this, the DataSource's sort() method
can be used, by supplying an object with the field that we want to sort and the direction:
I hope this resolves the issue. In case you need further assistance with configuring the widget, please let me know.