const dataSort = (table, id) => { return table.sort((a,b) => {return a[`${id}`] < b[`${id}`]})} module.exports = dataSort