word order is part of syntax, which is part of grammar. word order may be different in different languages. for example, english "i play tennis only sometimes" would be in german "ich spiele nur manchmal tennis", literally "i play only sometimes tennis". in norwegian, the same sentence would be "jeg spiller bare tennis noen ganger" ("i play tennis only sometimes").