capFlag rules are sorting