Converted sortBy from string to Lambda expression