in API order deals by category