fix the sort arrow direction