deals button now works and sorts