Add sorting on client column. Client column calculated in tasks/list.xml.erb. Added sql to emulate tasks/list.xml.erb logic. Ruby code has one line, the same expression in sq is terrible.
Add sorting on client column. Client column calculated in tasks/list.xml.erb. Added sql to emulate tasks/list.xml.erb logic. Ruby code has one line, the same expression in sq is terrible.

ari/jobsworth,digitalnatives/jobsworth,ari/jobsworth,rafaspinola/jobsworth,ari/jobsworth,webstream-io/jobsworth,arunagw/clockingit,evinoca/clockingit,ari/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth,evinoca/clockingit,xuewenfei/jobsworth,rafaspinola/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,rafaspinola/jobsworth,arunagw/clockingit,webstream-io/jobsworth,digitalnatives/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,webstream-io/jobsworth,arunagw/clockingit,evinoca/clockingit,xuewenfei/jobsworth,webstream-io/jobsworth,evinoca/clockingit