Yes ORDER BY ShippingCostValue
I would think that would work. Are you sure you are setting the values correctly? Try dumping the recordset to the page and see if the values are set correctly. Also try testing the SQL query in PHPMyAdmin to make sure the results look correct to you there.