Can you query all current sublevels in a persistent level and add them to a collection?

I’m using an array of of Names and hard coding each sublevel, I feel very dirty doing so.

Is there a way for me to query all current sublevels and then add them to a collection?

Here’s how I’m currently doing it.