Unique integer sorting algorithm in chapter 1.