Some like to fill, sand, prime,fill, sand, undercoat then gloss.
Others perfers (me included) to prime first then do the filling and sanding then undercoat then gloss.
My fav way is to prime and undercoat before it is up on a wall, then when it is up on the wall just fill whatever small rolleyes holes have to be filled then a quick undercoat then a gloss.