mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-13 22:21:10 -05:00
If we had organisations for GDS and Cabinet Office, then we’d always want someone whose email address ends in `@cabinet-office.gov.uk` to match to `cabinet-office.gov.uk` before matching to `digital.cabinet-office.gov.uk`. Sorting the list by shortest first addresses this.