sorted favourites and added a button with icon for favouriting and unfavouriting