Described sort method in a more understandable way

This commit is contained in:
Florian Scholdei
2020-02-24 15:05:13 +01:00
parent a016710c35
commit a5f27adc71

View File

@@ -75,7 +75,7 @@ export class Binder {
} }
/** /**
* Sort extensions in ascending order. * Sort extensions in ascending order, starting with entries with specified extensionName.
*/ */
sortExtensions = (a: ExtensionRegistration, b: ExtensionRegistration) => { sortExtensions = (a: ExtensionRegistration, b: ExtensionRegistration) => {
const regA = a.extensionName ? a.extensionName.toUpperCase() : ""; const regA = a.extensionName ? a.extensionName.toUpperCase() : "";