a. If the notation $(i, j),$ where $i$ and $j$ are positive integers, is used to mean "if the entry in the $i$ th position in the list is greater than the entry in the $j$ th position, interchange the two entries," which of the following two sequences does a better job of sorting a list of length three? (1,3)(3,2)
(1,2)(2,3)(1,2)
b. Note that by representing sequences of interchanges in this manner, sequences can be broken into sub-sequences that can then be reconnected to form new sequences. Use this approach to describe a genetic algorithm for developing a program that sorts lists of length ten.