Added sorting capabilities and queryAll(), an alias for query
minified
Documented sorting feature and other changes