Skip to content

Commit

Permalink
fixed remote sketches sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
fstasi committed Jul 23, 2021
1 parent 38d372e commit 64dc124
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class CloudSketchbookTree extends SketchbookTree {

// same sync status, compare on modified time
if (syncComparison === 0) {
return (a.fileStat.mtime || 0) - (b.fileStat.mtime || 0);
return (b.fileStat.mtime || 0) - (a.fileStat.mtime || 0);
}
return syncComparison;
}
Expand Down

0 comments on commit 64dc124

Please sign in to comment.