Alphabetise the BBC list

$bbc_codes is a static variable. It's done as a way to cache the bbcode tags so we don't have to define the big array each time the function is called in a particular situation. This code is there to prevent the tags from being cached if we're only parsing specific tags (as opposted to all of them).