mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.97k stars 359 forks source link

[Feature Request] Sort the List of Resolved Packages #3524

Closed RoyiAvital closed 1 month ago

RoyiAvital commented 1 month ago

Describe the Feature

When I install a new environment from a file or other way the end result before installing is the list of resolved packages:

  Package                                               Version  Build                    Channel           Size
------------------------------------------------------------------------------------------------------------------
  Install:
------------------------------------------------------------------------------------------------------------------

  + mkl-include                                        2024.1.0  h66d3029_694             conda-forge     Cached
  + _py-xgboost-mutex                                       2.0  gpu_0                    conda-forge     Cached
  + python_abi                                             3.12  5_cp312                  conda-forge     Cached
  + ucrt                                           10.0.22621.0  h57928b3_1               conda-forge      560kB
  + ca-certificates                                   2024.8.30  h56e8100_0               conda-forge     Cached
  + intel-openmp                                       2024.2.1  h57928b3_1083            conda-forge     Cached
  + winpty                                                0.4.3  4                        conda-forge     Cached
  + vc14_runtime                                    14.40.33810  hcc2c482_22              conda-forge      751kB
  + libwinpthread                         12.0.0.r4.gg4f2fc60ca  h57928b3_8               conda-forge       35kB
  + vc                                                     14.3  h8a93ad2_22              conda-forge       17kB
  + statsmodels                                          0.14.4  py312h1a27103_0          conda-forge       12MB
  + scikit-image                                         0.24.0  py312h72972c8_2          conda-forge     Cached
  + umap-learn                                            0.5.6  py312h2e8e312_1          conda-forge      185kB
  + seaborn                                              0.13.2  hd8ed1ab_2               conda-forge     Cached

  Summary:

  Install: 333 packages

  Total download: 251MB

------------------------------------------------------------------------------------------------------------------

I'd like the list to be sorted by ABC so it will be easy to see which versions are installed.

jjerphan commented 1 month ago

Implemented by https://github.com/mamba-org/mamba/pull/3165 first implemented in mamba 2.0 and micromamba 2.0.