A student wants to sort three amines by class without distillation. An ether solution contains equal amounts of aniline, N-methylaniline and N,N-dimethylaniline. It is stirred for an hour at room temperature with excess benzenesulphonyl chloride and aqueous sodium hydroxide, and the layers are separated. The ether layer after the separation holds