Google sheets in view only mode can not be filtered directly. Instead, go to Data\Filter views\CCreate new filter view.