Yes, you are correct.
This is description from
Servlet 2.4 Spec,
Notifications At Shutdown On application shutdown, listeners are notified in reverse order to their declarations with notifications to session listeners preceeding notifications to context listeners.Session listeners must be notified of session invalidations prior to context listeners being notified of application shutdown.
Page No : 82