Sort Java List/Map by order in which items are in an XML File
- by Brandon Smith
Hello everyone,
What I'm looking to do is to sorta a Java List or Map in the order the items are in a XML File.
For Example
I have a list of function names as so:
functionOne
functionThree
functionTwo
The XML File looks like this:
<xml>
<function>functionOne</function>
<function>functionTwo</function>
…