Fix sort order for record.previous

When using record.previous('myfield') the wrong record was being retrieved because "fieldname ASC'" was unexpected syntax ("fieldname" was working, though, and also "fieldname DESC" and "-fieldname")