Java version of LINQ
List<String> sortedDistinctColours = CAnimals.stream().map(CAnimal::getColour).sorted(String::compareToIgnoreCase).distinct().collect(Collectors.toList());
List<String> sortedDistinctColours = CAnimals.stream().map(CAnimal::getColour).sorted(String::compareToIgnoreCase).distinct().collect(Collectors.toList());