'''
Created on Dec 1, 2014

@author: Susan
'''
def swap(i,j, somelist):
    # TODO:
    
 
def InsertionSort(items):
    for iIndex in range(1,len(items)):
        # put item at iIndex where it belongs
        jIndex = iIndex
        while    ?    and      ?  :



        print items
    
        
    
    
    
alist = [3, 7, 2, 9, 1, 8, 6]
InsertionSort(alist)
print alist
