Updated sorting and new file for insertion sort