`meltano discover` and `/api/v1/plugins/all` sometimes omit custom plugins
Both features use groupby(discovery_service.plugins(), key=lambda p: p.type)
, which (per the docs), requires the input iterable to already be sorted on the same key function, which is not the case for discovery_service.plugins()
, which lists all custom plugins ahead of discovered plugins, resulting in the a mix of types.