added sort button panel above table
implemented sorts