Add odd-even merge sort to logic module