1 import type { ContactGroup } from '../interfaces/contacts';
3 export const orderContactGroups = (contactGroups: ContactGroup[]) => {
4 return [...contactGroups].sort((contactGroupA, contactGroupB) =>
5 contactGroupA.Name.localeCompare(contactGroupB.Name)