igvteam / igv

Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations
https://igv.org
MIT License
646 stars 387 forks source link

Feature: `File | Genomes | Select Hosted Genome` optionally preserves the order of the Genome Server resource #1365

Open malcook opened 1 year ago

malcook commented 1 year ago

Proposed release note:

The sort order of genomes displayed when user chooses File | Genomes | Select Hosted Genome nows preserves the order of genomes as listed in a (custom) Genome Server resource when the new option Preferences | Advanced | Genome Server - preserve order is checked. If left unchecked (the default), the list is reordered by the genome's lowercase display name, as before. The use of this option allows administrators of a custom Genome Server resource to impose the order presented to the user, potentially in support of use of "semantic versioning" applied to genome names. Without such, for example, Ensembl_100 is unfortunately sorted before Ensembl_99.

Implementation note: GenomeListSorter, implements current sort.