How did Moseley establish a more accurate periodic table?

How did Moseley establish a more accurate periodic table?

a. by arranging the elements according to atomic mass instead of atomic number
b. by arranging the elements according to atomic number instead of atomic mass
c. by arranging the elements into horizontal periods
d. by arranging the elements into vertical groups