When you use "in order to ..." clause at the beginning, you'd better use a comma before starting the main clause.
Without the comma, those sentence should be correct.
Let's have a look at how commas are used before so in the middle of a sentence. Here's a tip: Commas can be tricky, but they don't have to trip you up.
Before you go throwing in commas all willy-nilly, you first have to decide what
often spot these by looking for key words/groups such as although, if, as, in order to, and when:
Q: So when do writers need to use a comma?
Use a comma before the conjunction (and, for, but, or, nor, so) that joins the two
A lot of people assume they should always put a comma before “so”
Without the comma before and it is unclear how to group the last three items.
Determining when to insert a comma before a phrase or clause that