She gave the order to clean the room.

Literal

She [topic-は] that room [object-を] clean [indirect-command-ように] ordered.

~ように命じる is the standard pattern for indirect commands ('order someone to do X') — the ように softens the directness, framing the command as a desired outcome rather than a barked imperative. 命じる is formal — used in legal, military, or strict workplace contexts; in everyday speech you'd hear 言う or 頼む. Note that the addressee of the command is unstated here — Japanese routinely omits the recipient when context makes it clear, leaving English to fill the gap with a 'them' or 'someone.'