add chapter 7 sort and modify chapter 6 search