reorder sources for namespace