Sort srv by priority and prepare for weight support