Can Detect Thoughts distinguish thoughts between multiple targets?

The situation is quite simple: You cast detect thoughts, and you have two targets within your cone that both fail their will saves. Does the caster immediately know which thought belongs to which target? I haven’t been able to figure it out from the spell description, is there even a RAW interpretation for this?