reorder name and sub