mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-05 03:36:35 +00:00
fixed remote sketches sorting
This commit is contained in:
parent
38d372e2d5
commit
64dc124a53
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user