Trying to sort with directives.