yagamiapp / yagami

An auto-ref and tournament manager for osu!
https://yagami.clxxiii.dev
MIT License
7 stars 1 forks source link

Sort maps by adding "Mod Priority" #77

Closed clxxiii closed 2 years ago

clxxiii commented 2 years ago

Currently, maps in a pool are sorted alhpabetically we want them in NM -> HD -> HR -> DT -> EZ -> FL -> FM -> TB order

In order to solve this, we will add a "mod priority" property to the MapInPool model, which will order the mods in the correct order: e.g. NM = 1; HD = 2 etc.