Raku / modules.raku.org

Source code for modules.raku.org - Raku module listing
https://modules.raku.org/
Artistic License 2.0
27 stars 27 forks source link

list returned from a search should be alpha sorted #101

Open tbrowder opened 6 years ago

zoffixznet commented 6 years ago

Why? What advantage does that offer over the current sorting by popularity, considering many of the names are arbitrary to an extent?

tbrowder commented 6 years ago
  1. it's not obvious to me what the order is

  2. even if the names are somewhat arbitrary, the name order helps to see the names in context

  3. maybe give the user a choice of the returned order

zoffixznet commented 6 years ago

maybe give the user a choice of the returned order

:-1: from me on that. That's just typical over-engineering that'll result in over-complicated and confusing interface.

cfa commented 6 years ago

Seconding @tbrowder's point: it's not clear what the order is, so it appears arbitrary.

If you don't want to allow sorting (which I hardly think is over-engineering and also think would be useful, user friendly), perhaps add a line documenting that results are returned in descending order of popularity? That at least addresses @tbrowder's (1) and only requires a small template modification.

tbrowder commented 5 years ago

@zoffixznet, one time you told me the cpan6 info didn’t reflect correct popularity. Also, the default sort seems to be arbitrary and sorting on sometimes unreliable tags rather than name.

I know you don’t feel there is much value in the module names, but I spent some time on #perl6 getting module namng advice and think a name alpha sort is useful.