Allow the 'sort' section of the datastore API to work with quoted and un-quoted fields. #1961