fixed remote sketches sorting

This commit is contained in:
Francesco Stasi 2021-07-23 12:23:21 +02:00
parent 38d372e2d5
commit 64dc124a53

View File

@ -284,7 +284,7 @@ export class CloudSketchbookTree extends SketchbookTree {
// same sync status, compare on modified time // same sync status, compare on modified time
if (syncComparison === 0) { if (syncComparison === 0) {
return (a.fileStat.mtime || 0) - (b.fileStat.mtime || 0); return (b.fileStat.mtime || 0) - (a.fileStat.mtime || 0);
} }
return syncComparison; return syncComparison;
} }