Implement sort and maxResults

See also: alphagov/gapy#6