I have problem when do a migration with more than 9 classes. (Version1, Version2, Version3, ..., Version10)
php doctrine-cli.php migrate 10
When migration class lower than 10, migration well done.
The migration always return another class, not Version10.
I have do a simple research, and found the problem is on the sort of the class name.
It use SORT_NUMERIC, and it is not suitable to sort them.
So, I change the sort method to Natural Sort, to fix this issue.