Sorting SourceTreeNodes, with attributes first.