Well, it exactly is as your textbook says: Does order matter or not?
If you get a question about differently coloured cars arranged in different ways, order matters. Ways of seating people is another common one. Therefore, for both you use
Combinations are used when order does not matter. In how many different ways can you choose a committee consisting of 3 people from 25 students?
Does this make it any clearer?