In Mendeleev's Periodic Table the elements were arranged in the increasing order of their atomic masses

In Mendeleev’s Periodic Table the elements were arranged in the increasing order of their atomic masses. However, cobalt with atomic mass of 58.93 amu was placed before nickel having an atomic mass of 58.71 amu. Give reason for the same.

Elements with similar properties can be grouped together.