Sorting works, clicking doesnt.