Sort Android directories by basename only

On Windows, some paths were being returned with forward
slashes for path separators, and others with double back
slash, which caused the sort to be incorrect.

Just sort by the basename of the paths under platforms/
(the android-* part) to work around this.