How can I sort an ArrayList of type: List<Map<String, Object>> according to a property of that list, when I have the properties in the right order as a String?
e.g. I have a big list containing of ids and names. And I have the ids in the wanted order in a string. How can I order the list according to the string?