Here is a quick specifications comparison of the Sony A6300 vs Nikon D500 mid-range cameras with APS-c sized image sensors.
Sony A6300 mirrorless camera features a 24-megapixels APS-C CMOS sensor with 425-point on-sensor phase-detection AF system and 11fps continuous shooting (8fps continuous live view). It also has silent shooting feature with maximum ISO of 51200 and 4K video capture up to 100 Mbps.
Nikon D500 DSLR camera features a 20.9-megapixel APS-C sensor that’s coupled with the new Expeed 5 image processor found in the D5. It also has the same 153-point AF system with 99 cross-type sensor and can able to shoot continuously at 10 fps with a 200 shot buffer for Raw images.