order array almost works