test buttons for sort