Sort endPointDefinition by path