Does Code run from top to bottom?
The code is not executed, it is only stored in a variable. Then the execution of your code continues from top to bottom but that function is not executed.
Does the order of functions matter in Python?
Basically, yes, if you know JS and whatever framework the company you’re applying to uses, you can get a job, but if it’s your first job they might expect to give you a decent amount of hands-on training for the first 3-6 months or so.