Klimatbyran / klimatkollen

https://www.klimatkollen.se
MIT License
42 stars 47 forks source link

Make sorting of binary data on the homepage alphabetical #351

Open elvbom opened 4 months ago

elvbom commented 4 months ago

Sort binary data, such as climate plans (yes/no), so that they are sorted alphabetically, meaning that when sorting by "Har plan?" all municipalities that have/do not have it should be sorted alphabetically, unlike now when they are jumbled (see image).

Screenshot 2024-02-12 at 11 07 32
LudwikJaniuk commented 4 months ago

Just to rephrase - when sorting by "har plan", still sort by "Kommun" as a second order sort.

LudwikJaniuk commented 4 months ago

Related to https://github.com/Klimatbyran/klimatkollen/issues/346

belanglos commented 1 month ago

I'm having a look at this.

LudwikJaniuk commented 3 weeks ago

Hi @belanglos - just wanted to check in in case you need any help?

belanglos commented 3 weeks ago

Thanks @LudwikJaniuk ! Started working on #644 because I see it as a blocker for this task.

LudwikJaniuk commented 3 weeks ago

OK, let's treat this as blocked by https://github.com/Klimatbyran/klimatkollen/issues/643.