add so_sorted_nodes methods to ClassMethods