if (order == "desc"){
e.target.setAttribute("data-order", "asc");
tableData = tableData.sort((a,b) => a[column] > b[column] ? 1: -1)
} else if (order == "asc"){
e.target.setAttribute("data-order", "desc");
tableData = tableData.sort((a,b) => a[column] < b[column] ? 1: -1)
}