Make directives sort separately from methods.