Added sort on button press