Reorder elements to made possible auto install.