chaheck order array