def reverse_words(string: str) -> str:
    """Sort words in reverse order.

    Examples:
        >>> assert reverse_words('hello world!') == 'world! hello'
    """
    return ' '.join(string.split()[::-1])