 Dave did as she had ordered, busy with his own thoughts as he discovered what he was to wear.
Dave did what she wanted him to. 
mnli hypothesis: Dave did what she wanted him to.  premise:  Dave did as she had ordered, busy with his own thoughts as he discovered what he was to wear.