As constables they're entitled to ask who you are, and what you're up to. They can write it up and it goes into the enormous pile of puzzle pieces for intelligence analysis.
"Taking photos of cameras at major train station" + "Purchased a truck full of fertilizer" + "Attended talk by nutjob entitled 'War to save the white race'" is three completely legal things that add up to let's authorize detailed surveillance because this is a possible terrorist.
Whereas "Taking photos of cameras at major train station" + "Attended Extinction Rebellion March holding banners that said Eat The Rich" + "Wrote angry letter to local politician saying that they'd be judged in their next life for refusing permission for a new vegan bakery" is three other legal things that add up to this is probably just a hippy and we should keep paying attention but there's no immediate threat.
Here it is obviously used to fit into the rhythmic context to make the instructions easier to remember.
Others have mentioned some meanings, but you could also say something like 'yeah, she's sorted' (meaning, she's a good friend).
Or generically something like "That's sorted, that is", meaning good.
Well sorted, innit m8.
I'm not a native English speaker though and I'm left wondering what that "Sorted" statement at the end of it all really means. "Sort" what out? Why would you need to "sort" a person who's taking photos of video-surveillance cameras? In what way are they going to "sort" those persons out?