sorted sending ref to the view