Expand sorting to several sorting algorithms