'Test Token class is ordered consistently
@since 3.9
@jira_ticket PYTHON-714
@expected_result the tokens are ordered correctly
@test_category data_types'

def test_token_order(self):

    tokens = [Token(1), Token(2), Token(3), Token(4)]
    tokens_equal = [Token(1), Token(1)]
    self._check_sequence_consistency(tokens)
    self._check_sequence_consistency(tokens_equal, equal=True)
