I need this to sort in order from highest to low based of the rating : games = []
def gamef():

	print("Here you will type your favorite games and then rate then out of 10 and this will sort them for you. ")
	while True:
		name = input("Enter your game for the games list: ")
		rating = [int(i) for i in input("Enter your rating for the game: ")]
		
		games.append({
        "Game Title": name,
        "Game Rating": rating
    })
		cont = input("Want to add another? (Y/N)")
		if cont == "N":
			break;
		if cont == "n":
			break;
gamef()

print("Here's your games list: ")

print(games)

games.sort()

print("Here's your list of games in order by rating.")

print(games)