|
@@ -51,18 +51,12 @@ const finder = class Finder {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
- // Tri par ordre alphabetique
|
|
|
- coauth.sort(instance._alphabeticalSort);
|
|
|
// Retour
|
|
|
if (instance.callback !== null) {
|
|
|
instance.callback(coauth);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- _alphabeticalSort(a, b) {
|
|
|
- return (a > b) ? 1 : -1;
|
|
|
- }
|
|
|
-
|
|
|
};
|
|
|
|
|
|
module.exports.get = function () {
|