depends on whether greatness is about being genius, or about willpower.
one definition is ...a person who has achieved distinction and honor in some field; "he is one of the greats of American music"
thus both are great.
what's the point to rank who is greater? I love both, and many more great composers.