From 69e16a6137f39fc68db2328134044f4d0e535e2f Mon Sep 17 00:00:00 2001 From: HThuren <99370924+HThuren@users.noreply.github.com> Date: Thu, 26 Jan 2023 00:32:19 +0100 Subject: [PATCH] vtxTab: lexcical sort vtx_band (#3277) --- src/js/tabs/vtx.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/tabs/vtx.js b/src/js/tabs/vtx.js index 277afc1a92..0a01ef5f04 100644 --- a/src/js/tabs/vtx.js +++ b/src/js/tabs/vtx.js @@ -512,6 +512,8 @@ vtx.initialize = function (callback) { selectBand.append(new Option(i18n.getMessage('vtxBand_X', {bandName: i}), i)); } } + // Sort the element, if need to group, do it by lexical sort, ie. by naming of (the translated) selection text + selectBand.sortSelect(i18n.getMessage("vtxBand_0")); } function populateChannelSelect() {