The order that your members are in does make a difference. You want your strongest member first(warrior/fighter) and your weakest in the back(black mage). The members in the front of the party get attacked more often than the members in the rear.