private void quickSortDate(int low, int high, List<OrderStatus> table) {
        int i = low;
        int j = high;
        Date pivot = table.get(low + (high - low) / 2).getOrder().getFullDate();
        while (i <= j) {
            while (table.get(i).getOrder().getFullDate().before(pivot)) {
                i++;
            }
            while (table.get(j).getOrder().getFullDate().after(pivot)) {
                j--;
            }
            if (i <= j) {
                exchange(i, j, table);
                i++;
                j--;
            }
        }
        if (low < j) {
            quickSortDate(low, j, table);
        }
        if (i < high) {
            quickSortDate(i, high, table);
        }
    }