InsertionSort bugs fixes (Sorting out of seleceted bars)