A datagrid to sort table data, built using JavaScript