default to type string for undefined sort field
rename MATCH_ALL test query to avoid shadowing XPathQuery.MATCH_ALL