diff --git a/clients/tagshow/slideshow.js b/clients/tagshow/slideshow.js index e516d476af..b38e904940 100644 --- a/clients/tagshow/slideshow.js +++ b/clients/tagshow/slideshow.js @@ -19,9 +19,16 @@ var SlideShow = React.createClass({ render: function() { return
{ - this.props.photos.map( - photoRef => - ).toArray() + this.props.photos + .sort( + // This sorts the photos deterministically, by the ref of their image + // blob. + // TODO: Sort by create date if it ends up that the common image type + // has a create date. + (a, b) => a.ref < b.ref) + .map( + photoRef => ) + .toArray() }
}, });