sort the labels alphabetically, fixes #166
This commit is contained in:
parent
c106ee6b3a
commit
71a3f6ff38
1 changed files with 2 additions and 0 deletions
|
|
@ -511,6 +511,8 @@ ListModel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
labels.sort(function (left, right) { return left.caption.localeCompare(right.caption); });
|
||||||
|
|
||||||
callback(true, "", labels)
|
callback(true, "", labels)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue