Assume the calls are not accumulative; that is, they are always called with the initialized values of the variables, so their effects are not accumulative.
a. 2, 1, 3, 4, 7, 9
2, 1, 3, 4, 7, 9
2, 1, 3, 4, 7, 9
b. 1, 2, 3, 5, 7, 9
2, 3, 1, 5, 7, 9
5, 1, 3, 2, 7, 9
c. 1, 2, 3, 5, 7, 9
2, 3, 1, 5, 7, 9
5, 1, 3, 2, 7, 9