This might help.
<table border=1 cellspacing = 0 bgcolor="#ffffff"><tr bgcolor = "#aaaaaa"><td> <td align=center width=45><b>A</b><td align=center width=45><b>B</b><td align=center width=45><b>C</b><td align=center width=45><b>D</b><td align=center width=45><b>E</b><td align=center width=45><b>F</b>
<tr><td align=center bgcolor="#aaaaaa"><b>1</b><td bgcolor="#FFFFFF" > <FONT color="#000000">1234</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000"></FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">123</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">124</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">134</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">234</FONT></tr>
<tr><td align=center bgcolor="#aaaaaa"><b>2</b><td bgcolor="#FFFFFF" > <FONT color="#000000">3545</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000"></FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">345</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">355</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">455</FONT><td bgcolor="#FFFFFF" > <FONT color="#000000">#NUM!</FONT></tr></table><table border=1 cellspacing = 0 bgcolor="#ddedcc">
<tr><td colspan=3 align="center">Formulas in this range: </tr>
<tr><td align=center>Range with same formula<td align=center>Cell:<td align=center>holds Formula:</tr>
<tr><td>C1:C2<td align=right>C1 * <td align = left >{=MIN(--(SMALL(--(MID(A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID(A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID(A1,{1,2,3,4},1)),{3,4,4,4})))}</tr>
<tr><td><td align=right>D1 * <td align = left >{=SMALL(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),C1)+1)}</tr>
<tr><td><td align=right>E1 * <td align = left >{=SMALL(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),D1)+1)}</tr>
<tr><td><td align=right>F1 * <td align = left >{=SMALL(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A1,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A1,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A1,{1,2,3,4},1)),{3,4,4,4})),E1)+1)}</tr>
<tr><td><td align=right>D2 * <td align = left >{=SMALL(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),C2)+1)}</tr>
<tr><td><td align=right>E2 * <td align = left >{=SMALL(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),D2)+1)}</tr>
<tr><td><td align=right>F2 * <td align = left >{=SMALL(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),FREQUENCY(--(SMALL(--(MID($A2,{1,2,3,4},1)),{1,1,2,1})&SMALL(--(MID($A2,{1,2,3,4},1)),{2,2,3,3})&SMALL(--(MID($A2,{1,2,3,4},1)),{3,4,4,4})),E2)+1)}</tr>
<tr><td colspan=3 align="center">Array formulas are confirmed with Ctrl-Shift-Enter (Cmd+Return for Mac). </tr></table>
In case of duplicates, the errors at the end of the row can be hidden with Conditional formatting.
SMALL(--(MID(A1,{1,2,3,4},1)),1) is the least digit in A1
SMALL(--(MID(A1,{1,2,3,4},1)),2) is the second
this ordering is used to create the array
SMALL(--(MID(A1,{1,2,3,4},1)),{1,1,2,1}) _
& SMALL(--(MID(A1,{1,2,3,4},1)),{2,2,3,3}) _
& SMALL(--(MID(A1,{1,2,3,4},1)),{3,4,4,4})
of the four combinations with digits ascending.
This could be used as the ReferTo for a named array, numberArray
C1 is =MIN(numberArray)
D1 =SMALL(numberArray,FREQUENCY(numberArray,C1)+1) is the second smallest number in number array (without duplication.)
E1 =SMALL(numberArray,FREQUENCY(numberArray,D1)+1) is the third smallest.
etc.