export const sortByAlphabet = (a: any, b: any) => { return a.data.title.localeCompare(b.data.title); };