Sprite animation CCDictionary unsorted frames

Hello everybody,

With a previous version of cocos2dx on a Windows project, this code sorted the animation frames in the exact same order as they appeared over the plist file:

CCSpriteBatchNode* spritebatch = CCSpriteBatchNode::create(“grossini.png”);

CCSpriteFrameCache* cache = CCSpriteFrameCache::sharedSpriteFrameCache();
cache~~>addSpriteFramesWithFile;
CCSize size = CCDirector::sharedDirector~~>getWinSize;
CCPoint cpp = CCPoint;
CCSprite m_pSprite1 = CCSprite::createWithSpriteFrameName;
m_pSprite1~~>setPosition;
spritebatch~~>addChild;
addChild;
//creates fileUtils to be able to locate the plist file
CCFileUtils
fileUtils = CCFileUtils::sharedFileUtils;
//full path into plist file
string fullPath = fileUtils~~>fullPathForFilename;
//Dictionary
CCDictionary dictionary = CCDictionary::createWithContentsOfFileThreadSafe);
CCDictionary
framesDict = static_cast<CCDictionary*> );
//array with all image files to be used at the animation
CCArray *keys = framesDict~~>allKeys();

Now with the same code in cocos2dx version 2.2.0 on a iOS project they appear unsorted, like this:
grossini_dance_04.png
grossini_dance_11.png
grossini_dance_03.png
grossini_dance_10.png
grossini_dance_06.png
grossini_dance_13.png
grossini_dance_05.png
grossini_dance_12.png
grossini_dance_08.png
grossini_dance_07.png
grossini_dance_14.png
grossini_dance_02.png
grossini_dance_01.png
grossini_dance_09.png

Is there something I am missing?
Thanks in advance

Best Regards
José Barros