Devolutions / Devolutions/UniGetUI

[ENHANCEMENT] Sorting a column should keep a second-level sorting

Open
#2,633 0 comments 0 reactions 1 assignee Claimed by @marticliment View on GitHub
enhancement ready-to-go
Dominant language
C#
Stars
26.1k
Forks
924
Avg merge
15h 52m
Merged PRs (30d)
52

Description

### Please confirm these before moving forward.

- [X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
- [X] This improvement refers to an existing feature. If you want to suggest a new feature, please use [this template](https://github.com/marticliment/WingetUI/issues/new?assignees=marticliment&labels=new-feature&projects=&template=feature-request.yml&title=%5BFEATURE+REQUEST%5D+%28Enter+your+description+here%29).
- [X] This improvement is not a bug. If you want to report a bug, please use [this template](https://github.com/marticliment/WingetUI/issues/new?assignees=marticliment&labels=bug&projects=&template=bug-issue.yml&title=%5BBUG%5D+%28Enter+your+description+here%29).

### Describe the improvement

In the Software Updates tab, we can click on column names to sort by their elements, which is a great feature.
However, we should be able to keep a kind of second-level sorting.
For example, I click on "Source" so they're nicely sorted by source. But now they appear in a random order. Having them sorted by name inside their source categories could be a plus.

| Name | ... | Source |
| :---: | :---: | :---: |
| aiohttp | ... | Pip |
| setuptools | ... | Pip |
| Discord | ... | winget |
| Figma | ... | winget |
| Handbrake | ... | winget |
| Notepad++ | ... | winget |
| VLC | ... | winget |

in this example, they are sorted by Source as we clicked on it but also sub-sorted by name.
What 2nd level sorting to use ?
Package name or package ID could be a good idea if the user sorts by Source Or Version/New version. Or the last clicked column (which would be Package name by default), idk

### Describe how this improvement could help users

This would make the list of apps more easier to read. also I feel this should affect only the Software Updates tab, as the others seems to keep an order on the Package name when we sort by Source

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.