You asked

What lenses should I buy for the sony a6400?

Here is what the site says about that.

From Sony a6400: Sony a6400: A mirrorless camera by Sony with a 24.2-megapixel APS-C sensor, announced in 2019. Small and very quick to focus. There's no stabilisation in the body, so pick stabilised lenses for low light. Specs - Maker: Sony - Mount: Sony E - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 24.2 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2019 - ...

From Sony a6100: Sony a6100: A mirrorless camera by Sony with a 24.2-megapixel APS-C sensor, announced in 2019. The a6400's autofocus in a simpler, cheaper body.

Quoted from this site's pages.

From these pages