Always sort operator list before creating regex.