Use models to sort data when possible