package SortBinarySort;
public class SortBinarySort {
static public void Sort (String [] args) {
int i;
int j;
int tmp;
String tmpstr;
for (i = 0; i < args.length; i++) {
tmp = i;
for (j = i + 1; j < args.length; j++)
if (args[j].compareTo (args[tmp]) < 0)
tmp = j;
if (tmp != i) {
tmpstr = args[tmp];
args[tmp] = args[i];
args[i] = tmpstr;
}
}
}
}