prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
4.02k stars 233 forks source link

Sort the output of `pixi search` alphabetically #3355

Open dhirschfeld opened 3 days ago

dhirschfeld commented 3 days ago

Problem description

The current sort seems to be by the length of the package name which doesn't make much sense:

❯ pixi search -c conda-forge 'xs*'
Using channels: conda-forge
Package                                  Version             Channel
xsv                                      0.13.0              conda-forge/win-64
xsum                                     1.1.1               conda-forge/win-64
xsar                                     2024.12.3           conda-forge/noarch
xsdba                                    0.3.2               conda-forge/noarch
xscen                                    0.12.0              conda-forge/noarch
xstac                                    1.2.0               conda-forge/noarch
xsimd                                    13.2.0              conda-forge/win-64
xsocs                                    2024.9.0            conda-forge/noarch
xsdata                                   24.12               conda-forge/noarch
xstatic                                  1.0.2               conda-forge/noarch
xsarsea                                  1.6                 conda-forge/win-64
xsarsea                                  1.8.1               conda-forge/noarch
xsarslc                                  2024.3.18           conda-forge/noarch
xsocs-base                               2024.9.0            conda-forge/noarch
xskillscore                              0.0.26              conda-forge/noarch
xsdata-attrs                             24.5                conda-forge/noarch
xstate-python                            0.0.1               conda-forge/noarch
xstatic-jquery                           3.5.1.1             conda-forge/win-64
xstatic-jquery                           3.5.1.1             conda-forge/noarch
xstatic-bootstrap                        4.5.3.1             conda-forge/noarch
xstatic-font-awesome                     6.2.1.1             conda-forge/noarch
dhirschfeld commented 3 days ago

Very low priority, but thought I'd mention it.