#105 use a sorted array of URIs for matching so that static URIs take priority over tokens (/foo/list matches before /foo/{id})