done draft of sorting lecture