def order(A):
    """Returns the order of the matrix.

    Args
    ----
    A (compulsory)
        A matrix.

    Returns
    -------
    tuple
        the order of the given matrix in the form (rows, columns).
    """
    return (len(A), len(A[0]))