Hey all,
Thanks for the help, but it was the pass variable that was screwing it up. The second I removed all of the pass variables in the program, it runs perfectly. Thanks guys!
It looks like this:
while(done == false){
done = true;
for(int f = 0; f < entry.size() - 1; f++){
if(entry.get(f).compareTo (entry.get(f + 1)) > 0){
temp = entry.get(f);
temp1 = definition.get(f);
temp2 = entry.get(f + 1);
temp3 = definition.get(f + 1);
entry.set((f + 1), temp);
definition.set((f + 1), temp1);
entry.set((f), temp2);
definition.set((f), temp3);
done = false;
}
}
}