sort by button fix