How can I sort a List of Map using Java 8? The map contains a key called last_name, and the value associated wit
List
Map
last_name
You can override de compare method of the Collection. Here is an example: https://www.mkyong.com/java8/java-8-lambda-comparator-example/
You will have to compare the last_name of the objects, and do not forget to handle the null properly.