Suggestions for Dictionnaries

Hi !
May you add the possibility of sorting a dictionary (by keys or by values), for example to display a dictionary in a listview or to use a dictionary key by key.
Regards.
Flashoux

1 Like

Hello,

There is a new “for each key with value in dictionary” block that is in the works that should allow you to create a sort function more easily.

For now though you can use something like this to access the items in your dictionary:
blocks2
(picture courtesy of @ewpatton)

As for the actual sorting, there should be something on the List FAQ that can help you there. This sorting tutorial looks like it might fit the bill.

I hope that helps!
–Beka