Feature; Added node comparison and sorting.
Refactoring; Moved constructor code to separate method.