txr chapter 6

Ok. I did not realize i had an older version of the book sorry.
Looks like sorting above is correct.