add analysis for direct_insertion_sort