From(collection) .where("item.property + item.value > 10") .order_by("item.some_order_property") .select_many() # this returns an ordered collectin with only the items that # have the sum of property and value greater than 10