New subfloor?

Pulled up tile and mud to find this. Slightly different heights, def some lippage. 5/8 plywood on top? Will Be ditra heated floors (peel and stick) then 12x24 tile on thinset