started sorted dynamic array