Glue code: Sort directory providers by priority