[visualizations] fix crash in goom fixes #12584
[python] add missing sort methods
Merge pull request #2176 from ronie/python-sortmethod

[python] add missing sort methods
Merge pull request #2146 from MartijnKaijser/12584

[visualizations] fix crash in goom fixes #12584