fix warnings sort