sort the labels alphabetically, fixes #166

This commit is contained in:
Hauke Schade 2016-08-06 11:03:45 +02:00
parent c106ee6b3a
commit 71a3f6ff38

View file

@ -511,6 +511,8 @@ ListModel {
} }
} }
labels.sort(function (left, right) { return left.caption.localeCompare(right.caption); });
callback(true, "", labels) callback(true, "", labels)
}) })
} }