export const arrSort = (arr) => { arr.sort((a, b) => parseFloat(a.value) - parseFloat(b.value)); }
date-fns
YYYY-MM-DD
a[someVariable]