changed sort to use qsort per advice from Ricardo.
Merge pull request #324 from Cocos2DXNA/SPRITE_BATCH_QSORT

changed sort to use qsort per advice from Ricardo.