pass order more clearly through parseQuery