hands on several sorting algorithms