Sergey Ovchinnik's sorting algorithms on Java