If your left column is such that the differences between different
numbers is never smaller than say N/1000, where N is the highest
numbered row in your array (10 in this case) and assuming your array is
in A1:A10, enter in B1
=INDEX($A$1:$A$10,MATCH(SMALL($A$1:$A$10+ROW($A$1:$A$10)/10000,ROW(1:1)),$A$1:$A$10+ROW($A$1:$A$10)/10000,0))
and in C1
=INDEX($B$1:$B$10,MATCH(SMALL($A$1:$A$10+ROW($A$1:$A$10)/10000,ROW(1:1)),$A$1:$A$10+ROW($A$1:$A$10)/10000,0))
Both formulas should be entered as array formulas with Ctl-Shift-Enter.
Then drag/copy down the length of your array.
The purpose is of the term involving the 10000 is to uniquely identify
rows with the same value in column A. If your numbers are potentially
closer together, you could use a much larger number. If you cannot tell
how close they could be, you may need a different approach, such as
adding a helper column, say column C containing
=RANK(A1,$A$1:$A$10,1)+COUNTIF($A$1:A1,A1)-1 in C1
then in D1 put
=INDEX($A$1:$A$10,MATCH(SMALL($C$1:$C$10,ROW(1:1)),$C$1:$C$10,0))
and in E1 put
=INDEX($B$1:$B$10,MATCH(SMALL($C$1:$C$10,ROW(1:1)),$C$1:$C$10,0))
these formulas should NOT be entered as arrays.
Drag these three formulas down to row 10.
HTH
Declan O'R