Allow functions to be used as column sorters

This is just a small change to `_StoreMixin._getQueryOptions` so that it will return `this._sort` if it's a function or an array.