Insertion sort, selection sort and bubble sort