Skip to content

Commit 006486a

Browse files
committed
Sort the libraries before adding them to the Object Browser
1 parent 26fd8c8 commit 006486a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/IBMiContent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ export default class IBMiContent {
467467
.filter(lib => !libraries.find(l => l.name === lib.name))
468468
.forEach(lib => libraries.push(lib));
469469
}
470-
return libraries;
470+
return libraries.sort((a, b) => { return a.name.localeCompare(b.name) });
471471
}
472472

473473
/**

0 commit comments

Comments
 (0)