of all (the)idiom
Definition of of all (the)
—used in phrases to express surprise, disapproval, anger, etc. Who should I meet in New York but Max of all people!Of all the people in New York, who should I run into but Max!Why did my car break down now of all times, when I can least afford it?!Of all the luck—I just broke a nail!