timed and finished insertion and selection sort