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