Change default sort which was causing a sql error in the API