'Check that the *expected* markers occur in that order in *rec*\'s
recorded events.'

def assertRecordOrder(self, rec, expected):

    actual = []
    recorded = rec.recorded
    remaining = list(expected)
    for d in recorded:
        if (d in remaining):
            actual.append(d)
            remaining.remove(d)
    self.assertEqual(actual, expected, ('the    full    list    of    recorded    events    is:    %r' % (recorded,)))
