You asked

Which sony gives more megapixels for portraits under 1500 euros?

The Sony a6500 and a6300 tie on resolution, each with a 24.2-megapixel APS-C sensor. The Sony a5000 has fewer, at 20.1 megapixels, so it's the one to skip if resolution is your priority. The guide doesn't give prices on these pages, so it can't say which of them fit under 1500 euros. Check each camera's catalogue page for its "Price in France" section, which lists the shops and the day the prices were checked, and remember that prices change.

For portraits, the guide thinks the lens matters more than the body, and the choice of camera matters less than you might expect. Eye autofocus, which these Sony mirrorless cameras handle well, does more for sharp portraits than an extra few megapixels. The a6500 has in-body stabilisation, which helps steady the camera for handheld shots in dim light. It doesn't freeze a moving subject, though, so it won't rescue a fast-moving portrait.

Megapixels only pay off if you print large or crop tightly. For most portrait work, a fast lens will do more than the sensor's resolution. The guide's portrait camera advice explains why, and its sensor sizes page covers how APS-C compares with full frame for background blur.

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