Sorting-in-HOL4 To port chapter 2 - sorting from the book "Functional Data Structures and Algorithms" to HOL4