ordered elements by atomic number in controller