Sort button correction