How do I sort string values in case-insensitive order in the following?
List listofEmployees = Arrays.asList( new Employee(1, \"aaa\", Ar
You can specify it as the second argument to ignore cases:
Comparator.comparing(Employee::getName, String::compareToIgnoreCase).reversed()