added sort functionality that is a click button at the top of the column