public boolean isSorted() {
        int length = this.array.length, i;
        length--;

        for (i = 0; i < length; i++) {
            if (this.array[i].compareTo(this.array[i + 1]) < 0
                    || this.array[i].equals(this.array[i + 1])) {
                continue;
            } else {
                break;
            }
        }

        if (i == length) {
            return true;
        } else {
            return false;
        }
    }