const e="infra:clever-cloud",l="scope:private";function n(n){return null==n?null:[...n].sort(((n,r)=>{if(null==n||null==r)return 0;const t=n.tags.includes(e),i=r.tags.includes(e);if(t!==i)return t?-1:1;const u=n.tags.includes(l),c=r.tags.includes(l);if(t&&i){if(u!==c)return u?1:-1;if(u&&c)return(n.displayName??"").localeCompare(r.displayName??"")}return u!==c?u?-1:1:n.city.localeCompare(r.city)}))}export{l as PRIVATE_ZONE,n as sortZones};
//# sourceMappingURL=zone.js.map
