Fixing sorting on PagedRestfulController