Create a helper column for example in column B and apply this formula starting from B2 (drag the formula down):
=IF(ISNUMBER(IFERROR(1 / SUM(IFERROR(SEARCH({0,1,2,3,4,5,6,7,8,9}, IF(A2 = "", "", IF(ISNUMBER(A2), "", A2))), "")), "")), A2, "")
In cell D2 apply below formula as an array formula (so use simultaneously CTRL + SHIFT + ENTER from keyboard):
=IFERROR(INDEX(IF($B$2:$B$25 = "", "", IF(ISNUMBER($B$2:$B$25), "", $B$2:$B$25)), SMALL(IF(IF($B$2:$B$25 = "", "", IF(ISNUMBER($B$2:$B$25), "", $B$2:$B$25)) <> "", ROW($B$2:$B$25)), ROW(D2)) - 1), "")
Drag the formula down.
HTH