implemented sorting of searchedvideos