Update eval.cpp

first sort by dec_val,then sort by ty