compare sorting algorithms implement parseData function implement selection sort, insertion sort, bubble sort and merge sort algorithms in the corresponding functions respectively.