I would get the thickness planer first. Depending on what tools you already have in your arsenal, there are numerous ways to straighten boards.

Joe Fiore