immediately vs lastly

immediately

conj
  • directly (as soon as), instantly, the moment that. Indicates that the independent clause describes something that occurs immediately after the dependent clause's referent does. 

adv
  • In an immediate manner; instantly or without delay. 

lastly

adv
  • Used to signal that the speaker is about to yield control of the conversation. 

  • Used to mark the beginning of the last in a list of items or propositions. 

How often have the words immediately and lastly occurred in a corpus of books? (source: Google Ngram Viewer )