Repository: aptly-dev/aptly

Issue #214: Sorting when showing a repo
Created: 2015-03-05T20:37:16Z
Hi,
If I execute repo show -with-packages nicolas_prod, I get :
root@utility01:~# sudo -u aptly -H  aptly repo show -with-packages nico_prod 
Name: in-and-win_prod
Comment: 
Default Distribution: trusty
Default Component: main
Number of packages: 65
Packages:
  dummy_0.1_all
  nico-backend_0.1.100.ffd6a26f0699_all
  nico-backend_0.1.101.d7eb6f3041d4_all
  nico-backend_0.1.102.d13fea606fd8_all
  nico-backend_0.1.103.9f9e3ec3faf4_all
  nico-backend_0.1.104.8dad8d3ec97b_all
  nico-backend_0.1.105.ccb4f152cdf6_all
  nico-backend_0.1.106.39728900891f_all
  nico-backend_0.1.107.410feed72f5b_all
  nico-backend_0.1.108.cdfbe54be6e1_all
  nico-backend_0.1.109.c2e3718e0a21_all
  nico-backend_0.1.110.cec424a5631e_all
  nico-backend_0.1.111.eb25eaaf9cd6_all
  nico-backend_0.1.113.3ae18d8439d8_all
  nico-backend_0.1.114.3ae18d8439d8_all
  nico-backend_0.1.115.3ae18d8439d8_all
  nico-backend_0.1.116.3ae18d8439d8_all
  nico-backend_0.1.117.3ae18d8439d8_all
  nico-backend_0.1.118.3ae18d8439d8_all
  nico-backend_0.1.119.53825fcd2988_all
  nico-backend_0.1.120.fb58ccd17485_all
  nico-backend_0.1.121.96a6888b3c49_all
  nico-backend_0.1.122.dc40980b1de5_all
  nico-backend_0.1.123.cf0a0f1ca3e6_all
  nico-backend_0.1.124.2adcb1ea4f25_all
  nico-backend_0.1.125.2adcb1ea4f25_all
  nico-backend_0.1.126.2e88e52178d2_all
  nico-backend_0.1.127.7fb866bc7812_all
  nico-backend_0.1.128.364eefc339ee_all
  nico-backend_0.1.129.ba7c18620d37_all
  nico-backend_0.1.130.8addf6cd3a87_all
  nico-backend_0.1.131.772d0335edb6_all
  nico-backend_0.1.132.772d0335edb6_all
  nico-backend_0.1.136.4499c5d7b49f_all
  nico-backend_0.1.137.e40dd32270ed_all
  nico-backend_0.1.138.30efb3f36841_all
  nico-backend_0.1.139.256034693ed8_all
  nico-backend_0.1.140.c392f831b899_all
  nico-backend_0.1.141.3b6976461f3e_all
  nico-backend_0.1.74.398262ae3279_all
  nico-backend_0.1.75.96a2eaf38eeb_all
  nico-backend_0.1.76.e0c837a107cb_all
  nico-backend_0.1.77.ec22d9ed5a9b_all
  nico-backend_0.1.78.7b989986ef75_all
  nico-backend_0.1.79.dd001b7639ae_all
  nico-backend_0.1.80.a3df957b3dbd_all
  nico-backend_0.1.81.27780bfecf69_all
  nico-backend_0.1.82.95ee46eb95c9_all
  nico-backend_0.1.83.f381a9a1f26b_all
  nico-backend_0.1.84.27cc97f4519b_all
  nico-backend_0.1.85.f90cc7e34b9d_all
  nico-backend_0.1.86.9a11ae3934af_all
  nico-backend_0.1.87.071065842321_all
  nico-backend_0.1.88.55750e6d4c8f_all
  nico-backend_0.1.89.358aff21fed7_all
  nico-backend_0.1.90.8b39a8687de1_all
  nico-backend_0.1.91.cd0d7af2c396_all
  nico-backend_0.1.92.b1d70d8bb711_all
  nico-backend_0.1.93.7eac3ad0c01a_all
  nico-backend_0.1.94.72d587a1fba4_all
  nico-backend_0.1.95.fd2fb31ea5e0_all
  nico-backend_0.1.96.149ad968e730_all
  nico-backend_0.1.97.012610c47dbf_all
  nico-backend_0.1.98.88f7048552dd_all
  nico-backend_0.1.99.12742a289a6b_all

Wouldn't be better to sort the package names by version rather than by "string" ?
Using Aptly 0.9 package on Ubuntu.

Duplicate issue #135: Sort results of aptly * search
Created: 2014-10-30T06:05:21Z
Currently results are not sorted, probably providing some kind of sort would make sense.
https://groups.google.com/d/msg/aptly-discuss/RaYM7W_56SA/0rYUOd6Vy6cJ

Closing comment (2017-03-30T23:16:28Z): Same as #214