i want to sort an ArrayList that has the type Node, like this :
[[country1: null], [name2: null], [city3: null], [region4: null], [name6: null]]
To get the value of Node's name i use the function getNodeName() so
ArrayNode.get(0).getNodeName() // return country1
I have looking into collection.sort but i don't know how i will do it, Thank u in advance.