public void sort() {
        Calculator[] cal = (Calculator[]) this.goalMap.values().toArray(new Calculator[0]);
        for (int i = 0; i < cal.length; i++) {
            for (int j = 0; j < i; j++) {
                if (cal[i].getAllThroughTime() > cal[j].getAllThroughTime()) {
                    Calculator tmp = cal[i];
                    cal[i] = cal[j];
                    cal[j] = tmp;
                }
            }
        }
        
        this.goalMap.clear();
        for (int i = 0; i < cal.length; i++) {
            this.goalMap.put(cal[i].getName(), cal[i]);
        }
    }