'Prepend schema object\'s from B{s}ource list to
the B{d}estination list while applying the filter.
@param d: The destination list.
@type d: list
@param s: The source list.
@type s: list
@param filter: A filter that allows items to be prepended.
@type filter: L{Filter}'

@classmethod
def prepend(cls, d, s, filter=Filter()):

    i = 0
    for x in s:
        if (x in filter):
            d.insert(i, x)
            i += 1
