2 sorting algorithms