Implemented Insertion sort and added sorting of objects to TODO