Reorder ai code components by importance