Two Sigma interview question

Hybrid string and number sorting