The order comes after private videos leaked on social media appeared to show a senior finance ministry official having sex with several women in various places, including his office.