Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winget list sort packages alphabetically #3542

Closed
G0rocks opened this issue Aug 20, 2023 · 5 comments
Closed

Winget list sort packages alphabetically #3542

G0rocks opened this issue Aug 20, 2023 · 5 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@G0rocks
Copy link

G0rocks commented Aug 20, 2023

Description of the new feature / enhancement

The problem is that when I'm looking for a package that I think I have installed and I type the winget list command, the results are in a jumbled mess with no apparent order to them.
It would be amazing if the results would be displayed in alphabetical order, that way, reading through the list of packages would be much easier.

I tried seeing if another issue was addressing the same thing but did not find any, please correct me if I'm wrong.

Would be great if somebody could look into this, thank you :)

Proposed technical implementation details

When the winget list command is entered, winget gathers the list of installed packages, orders it in alphabetical order and then displays the list to the user.

@G0rocks G0rocks added the Issue-Feature This is a feature request for the Windows Package Manager client. label Aug 20, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Aug 20, 2023
@jessey-git
Copy link

Yeah, this continues to be one of the most awful user experiences for an otherwise great tool.

There's no way to sort the list by name, or install date, or source, etc. etc.

Best bet is to continue upvoting 1 of the many other issues mentioning the same :(. Here's a few just from a very quick search:

#1155
#964
#3504
#1769

@microsoft-github-policy-service
Copy link
Contributor

Hello @G0rocks,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Aug 21, 2023
@denelon denelon added this to the v1.6 Client milestone Aug 29, 2023
@jcf278
Copy link

jcf278 commented Jul 31, 2024

Just use like this:

for search apps type
winget search --name <SOFTWARE_NAME> | sort

for list installed apps type
winget list | sort

the "| sort" will do the alphabetically sort

@InfiniteIce2
Copy link

InfiniteIce2 commented Oct 15, 2024

Just use like this:

for search apps type winget search --name <SOFTWARE_NAME> | sort

for list installed apps type winget list | sort

the "| sort" will do the alphabetically sort

thanks, | sort worked perfectly. Weird how I can't find it in any -help outputs from winget list etc..

winget list | sort this does indeed sort alphabetically, although i feel like that should be the default, thanks!

edit: sorry i forgot to unclick reopen this issue. i dont post here very often. sorry to the devs that i annoyed by reopening this on accident :(

edit again: never mind, looks liek it's still closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

6 participants