bbPress topic tags are sorted in alphabetical order, need to find the file this is defined in.

bbPress topic tags get sorted into alphabetical order when submitted by the user. https://codex.bbpress.org/features/topic-tags/

I've been searching but can't find what file this is defined in so I can go into it and try to take out the sorting so the list of tags appears in the order the user typed it in. All I need is for someone to lead me into the direction of the file where I can sort this out. Thanks in advance!