Anti-Hermitian photodetector facilitating efficient subwavelength photon sorting