At this moment, the sorting can be performed manually by rearranging the items in the resources array (https://api.daypilot.org/daypilot-scheduler-resources/). This will work well for simple scenarios but the row header column data uses a legacy structure that can't support an elegant easily-configurable universal solution.
Instead of publishing a sample based on workarounds we decided to redo the column API in a way that would allow easier configuration. It's in the works now and it should be available soon.