Test of Sorting function

test it through inserting  items into the sorting function