How to sort result based on one item's data #17
Answered
by
blockhunts
blockhunts
asked this question in
Q&A
-
I want to insert a sort function inside the converter based on category.
|
Beta Was this translation helpful? Give feedback.
Answered by
blockhunts
Apr 5, 2022
Replies: 1 comment
-
Change this code from this:
to this:
Credits to @westandskif |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
blockhunts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change this code from this:
.sort(key=lambda item: item)
to this:
.sort(key=lambda item: item["Category"])
Credits to @westandskif