diff --git a/ietf/static/js/list.js b/ietf/static/js/list.js index d7e9dc944..c16111ba6 100644 --- a/ietf/static/js/list.js +++ b/ietf/static/js/list.js @@ -5,8 +5,10 @@ import { function text_sort(a, b, options) { function prep(e, options) { - return $($.parseHTML(e.values()[options.valueName])) - .text() + const el = $($.parseHTML(e.values()[options.valueName])); + const cell_el = e.elm.querySelector(`.${options.valueName}`) + const sort_by_number = cell_el?.getAttribute('data-sort-number') + return sort_by_number ?? el.text() .trim() .replaceAll(/\s+/g, ' '); } diff --git a/ietf/templates/group/concluded_groups.html b/ietf/templates/group/concluded_groups.html index c748c2061..725e8bd3c 100644 --- a/ietf/templates/group/concluded_groups.html +++ b/ietf/templates/group/concluded_groups.html @@ -40,8 +40,8 @@