added gridlines and ascending/descending sort switch