diff --git a/src/includes/class/class.LSattr_html_select_list.php b/src/includes/class/class.LSattr_html_select_list.php
index 60db29e7..e42987b1 100644
--- a/src/includes/class/class.LSattr_html_select_list.php
+++ b/src/includes/class/class.LSattr_html_select_list.php
@@ -193,14 +193,16 @@ class LSattr_html_select_list extends LSattr_html{
**/
protected static function _sortTwoValuesAsc(&$va,&$vb) {
if (is_array($va)) {
- $nva=$va['label'];
+ // Force sub-options at the end
+ $nva='ZZZZ'.$va['label'];
}
else {
$nva=$va;
}
if (is_array($vb)) {
- $nvb=$vb['label'];
+ // Force sub-options at the end
+ $nvb='ZZZZ'.$vb['label'];
}
else {
$nvb=$vb;