@Override
        public int compare(File f1, File f2) {
          Matcher m1 = pattern.matcher(f1.getName());
          Matcher m2 = pattern.matcher(f2.getName());

          m1.find();
          m2.find();

          return Integer.compare(
            Integer.parseInt(m1.group(1)),
            Integer.parseInt(m2.group(1)));
        }
@return path to android.jar of latest android api.
selendroid-standalone/src/main/java/io/selendroid/standalone/android/AndroidSdk.java