started sort algorithm