The best comparison between how John Newlands and Dmitri Mendeleev organized elements is:
Both Newlands and Mendeleev arranged elements according to their atomic masses, but only Mendeleev used chemical properties as well.
Newlands created the Law of Octaves, where he arranged elements by increasing atomic mass and noted that every eighth element exhibited similar properties. On the other hand, Mendeleev also arranged elements by atomic mass but emphasized their chemical properties more strongly and organized them into a more structured periodic table, leaving gaps for undiscovered elements and predicting their properties.