[scripts] Added script de-scrambling the X-engine output.

This takes the X-engines output order and unscrambles it into frequency
and baseline ordering.