Compares two nodes and returns true or false depending on : If Sort order is asc in the node configuration file, return true if the lhs sort number > rhs sort number, false otherwise If there are no sort number return true if lhs.getName < rhs.getName. If the sort order is desc, the return values are inversed