Better handling of error if the sort column cannot be found in model classes db fields