The UI currently supports sorting by license:
The current GraphQL field (Project.dependencies) does not support this yet, so we need to add this capability.
Project.dependencies
LICENSE_ASC
LICENSE_DESC
DependencyConnection