TheEconomist / us-potus-model

Code for a dynamic multilevel Bayesian model to predict US presidential elections. Written in R and Stan.
https://projects.economist.com/us-2020-forecast/president
MIT License
1.23k stars 185 forks source link

Sorting by state in Key States bad alphebetization #25

Open mas-4 opened 3 years ago

mas-4 commented 3 years ago

I think you're sorting by the 2-letter state abbreviation instead of the state name. Seems like a bad practice when you display the state name but sort by the abbreviation.