Skip to content

[New Feature]: Customizable sorting for search output #1769

@denelon

Description

@denelon

Description of the new feature / enhancement

I would like to be able to customize how the output from search is displayed.

Today, packages are grouped based on the order the source is configured.

The results from a REST source are returned in the order they are received.
The results from the Microsoft Windows Package Manager App Repository are returned based on where the match was found.

Proposed technical implementation details

Allow a user to configure whether results are grouped by source or coalesced together.

This assumes the default sort criteria from Windows Package Manager for coalesced results. The quality of the manifest from a REST source will impact these results.

Allow a user to order results alphabetically.

This may be performed on package name or package identifier.

If the output is coalesced, and there are duplicates, the order of two equally ranked results will be ordered by source priority. This should be driven by source priority from:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputIssue related to CLI outputArea-SortingIssue related to sorting outputIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions