Properly order by purchase_value. #2256