pure-data / deken

Externals wrangler for Pure Data
Other
145 stars 17 forks source link

sort results in a way that brings the "most up-to-date package" to the top #273

Closed umlaeute closed 2 years ago

umlaeute commented 2 years ago

consider the following search results

library version upload-data
binfile 0.1~git20181005 2018-10-04
binfile 0.1~git20151118 2015-11-18
zexy 2.4.1 2022-02-02
zexy 2.4.0 2022-01-18
zexy 2.3.1 2020-05-29

what if we want to get the newest library of all the results?

we can sort by "version" (or date), but that leaves the general order of libraries intact (which sorts binfile with the last release 4 years ago before zexy that had a release this year.

here's an idea: double click the column-header would sort by identifier, but also re-order the libraries themselves (so that the first entry within a node defines the overall order)