add sorting methods to the node list