Add the function of checking due to a predefined order