db api changed to OrderBy(field, order)