Giveth / DeVouch-BE

DeVouch - Decentralized Vouching via Attestations
GNU General Public License v3.0
22 stars 2 forks source link

Sort unified list by count of flags from all tracked attestor groups #49

Closed divine-comedian closed 3 weeks ago

divine-comedian commented 1 month ago

We will need to be able to sort the response given by the list of all projects should be the total count of FLAGS made by all tracked attester groups in ascending/descending order.

If a filter is applied to look for only certain attester groups this should be reflected as well.

If a filter is applied to look for only projects from a certain platform this should be reflected.

For example

Project A

flags received

Project B

flags received

Project C

flags received

So the order of responses should be given in descending order as projects B, A, C