(d) Give the status of the list at each call of the function sort. (10%)