diff --git a/modules/upload.module b/modules/upload.module
index 5b22a1f96697a0ad448183bad89f967a41206d21..c003d098ce4e5063acf9bd6d9fd7e0788e6db9e3 100644
--- a/modules/upload.module
+++ b/modules/upload.module
@@ -756,7 +756,7 @@ function upload_load($node) {
   $files = array();
 
   if ($node->vid) {
-    $result = db_query('SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid DESC', $node->vid);
+    $result = db_query('SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid', $node->vid);
     while ($file = db_fetch_object($result)) {
       $files[$file->fid] = $file;
     }
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 5b22a1f96697a0ad448183bad89f967a41206d21..c003d098ce4e5063acf9bd6d9fd7e0788e6db9e3 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -756,7 +756,7 @@ function upload_load($node) {
   $files = array();
 
   if ($node->vid) {
-    $result = db_query('SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid DESC', $node->vid);
+    $result = db_query('SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid', $node->vid);
     while ($file = db_fetch_object($result)) {
       $files[$file->fid] = $file;
     }