Fixed "order" argument in db entity search