several enum select form fields (AMP, ACMG, and ClinGen code) require better option sorting
Opened this issue · 0 comments
jmcmichael commented
Several of the enum-select fields require better sorting of their options:
amp-category-select
: order by tier (maybe group by tiers using nested menu option)clingen-code-select
: order by strength, also some options might be missingacmg-code-select
: also appears unordered
Currently the fields do not perform any of their own sorting, just iterating through the enum object generated from the GQL schema. Since field's options are generated from observables, we can just add a map operator to perform the sorting.