diff --git a/src/galleries.js b/src/galleries.js
index <HASH>..<HASH> 100644
--- a/src/galleries.js
+++ b/src/galleries.js
@@ -55,6 +55,7 @@ exports.fromDisk = function(mediaPath, mediaPrefix) {
   var files = wrench.readdirSyncRecursive(mediaPath);
   return _(files).filter(byExtension)
                  .map(fileInfo)
+                 .sortBy('date')
                  .groupBy(byFolder)
                  .map(folderInfo)
                  .value();
Sort photos by date (newest at the end)