change if order
add comment
sort after minimize
changed