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