Elements in a periodic table are arranged from left to right and top to bottom in order of —