order paths by name and not by ResourceNode path