Switch sortBy with groupBy for better performance and overhead