0 out of 68 challenges solved

Order a list of strings in alphabetical order

Question:
Write a function called order_list that takes a list of strings as input and returns a new list with the strings sorted in a reversed alphabetical order.

Example:
Input: ["banana", "apple", "grapes", "melon", "kiwi"]
Output: ["apple", "banana", "grapes", "kiwi", "melon"]

def order_list(strings):
    """
    Orders the given list of strings in alphabetical order.

    Args:
        strings (list): The input list of strings.

    Returns:
        list: A new list with the strings sorted in alphabetical order.
    """
    # TODO: Implement the order_list function
    pass