[FEATURE] Sorting nodes

Added sorting for nodes. Simple patch.

http://forge.typo3.org/issues/5704