Hi Baz,
The $urls array goes through a krsort() when you pass it through the
stick() method. This should sort your URLs so that most specific URLs
are processed before least-specific ones. You can print out your own
krsort($urls) to see the exact order on how they would be processed.
Thanks,
Joe