ahmadawais / corona-cli

🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
https://NodeCLI.com
MIT License
1.85k stars 191 forks source link

Fails to sort on -s cases_today #72

Closed alf946 closed 4 years ago

alf946 commented 4 years ago

corona-cli v3.8.6 by Awais.dev Track the Coronavirus disease (COVID-19).

ℹ Sorted by: cases_today │ # │ Country │ Cases │ Cases (today) │ Deaths │ Deaths (today) │ Recovered │ Active │ Critical │ Per Million │

│ — │ Worldwide │ 1,215,940 │ — │ 14,487 │ — │ 65,666 │ — │ — │ — │

│ 1 │ USA │ 311,637 │ 280 │ 8,454 │ 2 │ 14,828 │ 288,355 │ 8,206 │ 941 │

│ 2 │ Spain │ 130,759 │ 4,591 │ 12,418 │ 471 │ 38,080 │ 80,261 │ 6,861 │ 2,797 │

│ 3 │ Italy │ 124,632 │ 0 │ 15,362 │ 0 │ 20,996 │ 88,274 │ 3,994 │ 2,061 │

│ 4 │ Germany │ 96,108 │ 16 │ 1,446 │ 2 │ 26,400 │ 68,262 │ 3,936 │ 1,147 │

nezia1 commented 4 years ago

Could you give more details on your issue?

alf946 commented 4 years ago

The sorting was still by cases, even when using -s cases_today switch

alf946 commented 4 years ago

so sorry, I thought the - was a _ it works as should