How do I sort string values in case-insensitive order in the following?
List listofEmployees = Arrays.asList( new Employee(1, \"aaa\", Ar
Try this
Comparator.comparing(Employee::getName, String.CASE_INSENSITIVE_ORDER)