223224225226227228229230231232233
} if (s == Sort.detect) { IEnvironment environment = solver.getEnvironment(); if (isDsc) { s = Sort.desc; environment.save(new Operation() { @Override public void undo() { s = Sort.detect; } });
231232233234235236237238239240241
s = Sort.detect; } }); } else if (isAsc) { s = Sort.asc; environment.save(new Operation() { @Override public void undo() { s = Sort.detect; } });
239240241242243244245246247248249
s = Sort.detect; } }); } else { s = Sort.none; environment.save(new Operation() { @Override public void undo() { s = Sort.detect; } });