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