export function markAsDeprecated(s) {
    return `${s} (deprecated)`;
}
export function sortByDisplayName(items) {
    return items.sort((a, b) => {
        const isDeprecatedA = a.displayName.includes('(deprecated)');
        const isDeprecatedB = b.displayName.includes('(deprecated)');
        if (isDeprecatedA && !isDeprecatedB)
            return 1;
        if (!isDeprecatedA && isDeprecatedB)
            return -1;
        return a.displayName.localeCompare(b.displayName);
    });
}
//# sourceMappingURL=utils.js.map