Update resources.php to provide sorting of routes by url

Provides improved ordering of multiple resources that have the same HTTP method and extended urls. e.g. PUT /v1/departments/{departmentId}/users/{userId}
Merge pull request #184 from JoelRSimpson/patch-1

Update resources.php to provide sorting of routes by url