Let the resources be sorted by http method and then by the path length