You asked

Which lens suits landscapes and astrophotography on an aps c sony?

The guide doesn't name a specific Sony APS-C lens for landscapes or astrophotography, so it can't pick one from its catalogue here. It can point you to what to look for. The Landscape page covers wide zooms, and the Lenses advice puts a wide zoom for landscapes after a standard zoom and a fast prime.

For astrophotography, a fast lens matters more than stabilisation. Stabilisation steadies the camera, not the sky, and a tripod does that job for star shots anyway. Look for a wide lens with a wide maximum aperture so enough light reaches the sensor in a short exposure. The guide's fast-prime pick for APS-C is a 33-35mm f/1.4 to f/1.8. That's a standard focal length, so it's a good low-light lens but not an astro lens on its own.

Your sensor helps you. The sensor page notes that full frame gives less depth of field than APS-C. For landscapes you usually want more of the scene sharp, so APS-C works in your favour.

For bodies, the Sony a6500 is the first Sony APS-C camera with in-body stabilisation. The Sony a6300 has the same 24.2-megapixel APS-C sensor. The Sony a5000 is older and has a 20.1-megapixel sensor. For night-sky work, the lens matters more than the body.

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}.