This fixes the the issue of task order not being saved.

https://github.com/ari/jobsworth/issues/484
The task sort preference was not being saved in the javascript.
Introduced it in this commit.