'Returns both types of contents: filtered and in some order.'

def contents(self, container):

    iters = []
    iters.append(self.contained(container))
    iters.append(self.subcontainers(container))
    return galaxy.util.merge_sorted_iterables(self.order_contents_on, *iters)
