pathsSpecificityOrder
pathsSpecificityOrder evaluates path declarations in source order and checks whether a later static path segment
should appear before an earlier templated path for the same HTTP method.
The function only reports cases where the path shapes overlap in a way that can affect routers, mock handlers, and generated consumers.
The function is used by the paths-specificity-order Rule
