reorder instructions for maximum sense