1 2
def price_sorted(self): return [item for price, item in sorted((item.unit_price, item) for item in self.get_query_set())