Del Potro has 1 Slam plus 17 other titles including 8 at ATP500 level. His highest ranking was #4.
Wawrinka has 1 Slam plus 5 other titles, all at ATP250 level. His highest ranking, as of Monday, will be #3.
Del Potro edges it with his far greater number of titles.