Using Comparator with 3 conditions at the same time
The shortest way to do this is using the Java 8 Comparator building api : 

Comparator&lt;Dto&gt; myComparator = Comparator.comparing(Dto::getName)
    .thenComparing(Dto::Number)
    .thenComparing(Dto::Other);


And this is even a lot more readable.

Btw : your method names do not follow Java coding conventions, and the posted code doesn't actually compile.