A salesman has to visit ten different cities. In how many different ways can the ordering of the visits be made? If he decides that five of the visits will be made one week, and the other five visits will be made the following week, in how many different ways can the ten cities be split into two groups of five cities?