Should the listings be included in the contents page
I don't know that there is a "normal" order over different fields (or even within a field). My only suggestion is that if you need to symbols to understand the listing, then maybe symbols should come first.

Otherwise, what you have should be fine. But for a thesis, let your advisor give you the best advice.