Fix styles for grid view sorting