sort button fix