How An Insertion Sorting Algorithm Works