I have done it both ways, and strongly prefer to end in WDW, where it's much more magical, IMO. It was somewhat depressing, as a major Disney fan, to leave and go to US, knowing I wouldn't be back to WDW. I've also done US in the middle of the trip, which was fine. I just don't recommend doing US last.