re oredered list now storing in array