Change order of comparison