Sort usage data better
partouf opened this issue · comments
It's now displayed semi-sorted, because it's initially sorted but then we sum up all versions usages per library. Depending on how many versions and how much the library is used, some will bump up or down a spot here and there.
It should be re-sorted after being summed and filtered. (after this point https://github.com/compiler-explorer/conanproxy/blob/main/html/usage.html#L104)
DO you wish to have the libraries in alphabetical order?
DO you wish to have the libraries in alphabetical order?
No, I don't think that makes much sense. I would like it to be sorted on usage count.
On usage count, meaning if ascending order, the histogram skews from zero to the highest count. then on descending it skews from highest to zero.
On usage count, meaning if
ascendingorder, the histogram skews from zero to the highest count. then ondescendingit skews from highest to zero.
Descending makes most sense here, I think.
Ascending would mean to include the < 20 again, so that would complicate things.
And having it an option/button to change sorting seems a bit overkill.
Found the issue. would you wish I work on this by assigning it to me?
Found the issue. would you wish I work on this by assigning it to me?
Sure, thanks!
Change is now live, thanks!


