rename the table.js and add sort feature for table.