2👍
✅
Write a custom template tag, {% sidebar_snippets appname %}
that takes the current app name as an argument. Then in the Python that implements sidebar_snippets, you can order the pieces any way you like.
Source:stackexchange.com