Sort providers by priority