If a 1st is refi'd and the date of the recording is after an existing 2nd, who's in 1st position?

What happens if the first is refinanced after an existing second. Which loan is in first position?

First in time is first in line, unless there is a subordination agreement. So given no subordination agreement your existing 2nd is now a 1st.