Quote Originally Posted by lepensuer
all the books and materials that I got say that the word order doesn't matter
It's true. Russian case system and some another peculiarities of the language provides you with possibility to change word order and do not "lose" a grammatical goverment of a sentence. While you preserve goverment, a sentence has a meaning.