The correct answer is both newlands and mendeleev arranged elements according to their atomic masses, but only mendeleev used chemical properties as well.
The explanation:
1- Newlands arranged all the elements known at the time into a table in order of relative atomic mass. ... He then put the similar elements into vertical columns, known as groups.
2- Mendeleev also arranged the elements known at the time in order of relative atomic mass, but he did some other things that made his table much more successful.
He realised that the physical and chemical properties of elements were related to their atomic mass in a 'periodic' way, and arranged them so that groups of elements with similar properties fell into vertical columns in his table.