Step 1: Identify the geographical location (longitude) of each country.
To arrange countries from east to west, we need to consider their approximate longitudes.
Ukraine (3): Located in Eastern Europe, primarily between $22^\circ$E and $40^\circ$E longitude.
Austria (1): Located in Central Europe, primarily between $9^\circ$E and $17^\circ$E longitude.
France (4): Located in Western Europe, primarily between $5^\circ$W and $8^\circ$E longitude.
Spain (2): Located in Southwestern Europe, primarily between $9^\circ$W and $3^\circ$E longitude.
Step 2: Arrange the countries from east to west based on their longitudes.
Starting from the easternmost country and moving westward:
% Option
(A) Ukraine (approx. $30^\circ$E)
% Option
(B) Austria (approx. $15^\circ$E)
% Option
(C) France (spans both east and west longitudes, but generally more eastern than Spain, with its capital Paris at about $2^\circ$E)
% Option
(D) Spain (spans both east and west longitudes, but its westernmost point is further west than France, with its capital Madrid at about $3^\circ$W)
Step 3: Formulate the sequence using the given codes.
The order from east to west is Ukraine (3), Austria (1), France (4), Spain (2).
Thus, the sequence is 3, 1, 4, 2.