You asked

Which lens on a lumix s5 ii is best for distant outdoor sports or birds in flight?

For distant sport and birds in flight on the Lumix S5 II, the lens that matters most is reach. The guide says birds need about 600mm full-frame equivalent and beyond, and the S5 II is full frame, so each lens below frames as marked.

Stabilisation steadies the camera, not a moving bird, so it does less for birds in flight than a fast shutter does. The guide suggests 1/2000s or faster for birds, which pushes ISO up, and the S5 II's full-frame sensor copes with that better than a smaller one. The guide also notes that long lenses hold their value, so a used copy can save a lot; see buying used. Prices are not given on the catalogue pages here, so check each lens page for current prices.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.