by Patrick Corgan
Version 2 (October 3, 2023)
Download (493 downloads)
This flow sorts a dictionary by either keys or values. Just replace 'sortMe' with the dictionary you want to sort, and use either the key-sorting blocks or the value-sorting blocks. Replace 'sorted' with the name you want to use for your sorted dictionary. Don't use the same name for the unsorted and sorted dictionaries.
Ricardo FernΓ‘ndez Serrata has an updated and improved version:
https://llamalab.com/automate/community/flows/39658
------------------------------
ππΊ ππ’π΅π³πͺπ€π¬ ππ°π³π¨π’π―
π οΈππ πππππ₯π€ πππ ππ£ππ₯ππππ€ππ€ π¨ππππ ππβοΈ
------------------------------
Version 2: Big bug fix. Value sorting algorithm now works as expected with dictionaries that have duplicate values.
5 stars | 5 | |
4 stars | 1 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.