fix toArray() order fail while array key is numeric