Hey I want to sort photo by name, first I want all photos that have the word "profile" in it, and then compare the rest by ABC
Currently I'm only sorting by name
photos
.stream()
.sorted(Comparator.comparing(Photo::getFileName))
.collect(Collectors.toList());
How can I achieve that? thanks