Fixed tags sort dropdown being empty
What does this MR do?
Fixes the tags sort dropdown toggle being empty. It now correctly populates the toggle with the current sorted option. Also updated the dropdown to match the other sort dropdowns.
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #31618 (closed)