Use lambda to implement Comparator.
Use method reference to implement Comparator.
Refactor