changed to sort by date if both if both not in favourites did this for user as well