script version ordering is done using string comparison
Status: Alpha
Brought to you by:
srihari_18
Currently (r40) script version comparison is done using
strings. This is causing migrator to fail when the
migrations are more than 9 because the files are
returned in the wrong order.
The returned order is 1,10,2,3,4,5,6,7,8,9 but the
correct order is 1,2,3,4,5,6,7,8,9,10.
The following patch resolves this issue.
VERSION COMPARATOR