+groupBy and sortBy methods
add model tests for sortBy and groupBy