A description of the problem can be found on Hackerrank.
State and then order first by city ascending and then state ascending.
I created solution in:
All solutions are also available on my GitHub.
select city, state from station order by city asc, state asc;