public static Comparator<Object[]> getComparator(List<OrderByExpressionContext> orderByExpressions,
      ColumnContext[] orderByColumnContexts, boolean nullHandlingEnabled) {
    return getComparator(orderByExpressions, orderByColumnContexts, nullHandlingEnabled, 0, orderByExpressions.size());
  }
@Test
  public void testTwoNullsCompareNextColumn() {
    List<OrderByExpressionContext> orderBys = Arrays.asList(new OrderByExpressionContext(COLUMN1, ASC, NULLS_LAST),
        new OrderByExpressionContext(COLUMN2, ASC, NULLS_LAST));
    _rows = Arrays.asList(new Object[]{null, 2}, new Object[]{null, 3}, new Object[]{1, 1});

    _rows.sort(OrderByComparatorFactory.getComparator(orderBys, ENABLE_NULL_HANDLING));

    assertEquals(extractColumn(_rows, COLUMN2_INDEX), Arrays.asList(1, 2, 3));
  }