Why did episodes 4, 5 and 6 come before 1, 2 and 3 in the Star Wars series?

Because in charge of planning Yoda was.

Happy Star Wars Day!

May the Fourth be with you.