Following on Nick's kind answer, here are two concrete ways to solve my problem (which is caused by all syntax
options that start on "no" to be "rephrased" by Stata into the contrapositive statement without the "no"):
syntax [, nosort]
if "`sort'" != "" ...
syntax [, NOSort]
if "`nosort'" != "" ...