in reply to Sort on Number Embedded in String

You want the schwartzian transform.

this seems like a pretty good explanation