wordhistories.net
‘(just) what the doctor ordered’ (exactly what is needed)
‘(just) what the doctor ordered’: very beneficial or desirable under the circumstances—origin: USA, second half of the 19th century