Sort routes reverse-alphabetically so that explicit routes appear before param routes.