lods += sorted([c for c in obj.children if c.lod_for_parent], key=(lambda l: l.lod_index))
for i, l in enumerate(lods):
if i>0 and l.lod_index!=i:
lods += sorted([c for c in obj.children if c.lod_for_parent], key=(lambda l: l.lod_index))
for i, l in enumerate(lods):
if i>0 and l.lod_index!=i: