A4/Solutions/java-samples/SimpleSort.java
class SimpleSort {
    void sort(int arr[]) {
        int n = arr.length;
        for (int i = 1; i < n; ++i) {
            int key = arr[i];
            int j = i - 1;
            arr[j + 1] = key;
        }
    }
}