More deterministic
More deterministic

Summary: By sorting the `to_optimize` list.

Reviewed By: minjang

Differential Revision: D14885369

fbshipit-source-id: 4bbc1e45801506d1999ace29de54d6b4a0b445d2

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex