Adds Sorting and styles to edit table