Binary Sort Algorithm Time Complexity Questions In Java