Add support to sort-by-license to GraphQL endpoint

Context

The UI currently supports sorting by license:

Screenshot_2025-04-01_at_9.55.20_am

The current GraphQL field (Project.dependencies) does not support this yet, so we need to add this capability.

Implementation Details

  • Add LICENSE_ASC- and LICENSE_DESC- support to the sort argument for the DependencyConnection type
Edited by David Pisek