Thickness planer first.
You could joint on your router table if you have one. Just add a shim to the outfeed side of the fence.
The same principle can be used on the table saw by making a sacrificial fence.
Of course if you have a long sled that even easier. Many other Technics have been posted on this site.
Abbas, Castro Valley, CA