sorting added to public view