--- uc_cart.module      2009-09-23 10:45:56.000000000 -0500
+++ uc_cart.module      2009-09-29 19:20:45.000000000 -0500
@@ -1336,7 +1336,7 @@ function uc_cart_get_contents($cid = NUL

   if (!isset($items[$cid])) {
     $items[$cid] = array();
-    $result = db_query("SELECT c.*, n.title, n.vid FROM {node} n INNER JOIN {uc_cart_products} c ON n.nid = c.nid WHERE c.cart_id = '%s'", $cid);
+    $result = db_query("SELECT c.*, n.title, n.vid FROM {node} n INNER JOIN {uc_cart_products} c ON n.nid = c.nid WHERE c.cart_id = '%s' ORDER BY c.changed", $cid);

     while ($item = db_fetch_object($result)) {
       for ($i = 0; $i < count($items[$cid]); $i++) {
