fixing sorting arrows