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

def test_timer_order(self):

    time_from_int = [Time(1000), Time(4000), Time(7000), Time(10000)]
    time_from_int_equal = [Time(1), Time(1)]
    self._check_sequence_consistency(time_from_int)
    self._check_sequence_consistency(time_from_int_equal, equal=True)
    time_from_datetime = [Time(datetime.time(hour=0, minute=0, second=0, microsecond=us)) for us in (2, 5, 8, 11)]
    time_from_datetime_equal = [Time(datetime.time(hour=0, minute=0, second=0, microsecond=us)) for us in (1, 1)]
    self._check_sequence_consistency(time_from_datetime)
    self._check_sequence_consistency(time_from_datetime_equal, equal=True)
    time_from_string = [Time('00:00:00.000003000'), Time('00:00:00.000006000'), Time('00:00:00.000009000'), Time('00:00:00.000012000')]
    time_from_string_equal = [Time('00:00:00.000004000'), Time('00:00:00.000004000')]
    self._check_sequence_consistency(time_from_string)
    self._check_sequence_consistency(time_from_string_equal, equal=True)
    self._check_sequence_consistency(self._shuffle_lists(time_from_int, time_from_datetime, time_from_string))
