Add filtering and ordering to the view layer.