A parser to create QuerySorter from different ways.
Creates the query sort for a list of sort specifications.