@@ -0,0 +1,359 @@
+package com.github.davidmoten.bigsort;%0A%0Aimport rx.Observable;%0Aimport rx.schedulers.Schedulers;%0A%0Apublic class BigSortMain %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        // for profiling%0A        int n = 10000000;%0A        BigSort.sort(Observable.range(1, n).map(i -%3E n - i + 1), 100000, 10, Schedulers.immediate())%0A                .subscribe();%0A    %7D%0A%7D%0A

add main