diff --git a/core/includes/common.inc b/core/includes/common.inc
index a4fcf51..8d2cc6f 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -7315,6 +7315,9 @@ function drupal_parse_info_file($filename) {
     else {
       $data = file_get_contents($filename);
       $info[$filename] = drupal_parse_info_format($data);
+      // Add the info file modification time, so the modules page can be
+      // sorted by the date modules were added.
+      $info['mtime'] = filemtime($filename);
     }
   }
   return $info[$filename];
