Add sort actions to all columns in Storage view in Usage quotas (Frontend)

What does this MR do and why?

This MR is the frontend counterpart to !184030 (merged)

It adds support for sorting all columns in the storage view.

🛠️ with ❤️ at Siemens

References

Issue: #419928 (closed)

Screenshots or screen recordings

sort

How to set up and validate locally

To be able to test sorting, you can add a new project to an existing namespace and add project statistics:

  1. Create a new project in an existing group e.g. with the GDK seed data, in toolbox.
  2. With rails c, add project statistics to this project:
Project.last.statistics.update(packages_size: 5, wiki_size: 4, snippets_size: 7, lfs_objects_size: 3, pipeline_artifacts_size: 8, container_registry_size: 9)
  1. Now you can check the Usage quotas of the group: Toolbox > Settings > Usage Quotas. You should see two projects (Gitlab smoke tests and the project you've created) that can be sorted.

MR acceptance checklist

MR Checklist ( @nwittstruck)

Related to #419928 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading