private static void maxWithComparator()
    {
        printTitle("Stream.max(Comparator<T>) example");
        
        String minLength = Stream.of("java", "c++", "haskel", "lisp", "delphi", "brainfuck", "python")
            .max(comparing(String::toLowerCase, (n0, n1) -> n0.length() - n1.length()))
            .get();
        
        System.out.println(minLength);
    }