First draft of doc for sort