Complex sentence: However, an optional argument may be supplied to give the name of the fictional work that includes the character; this will sort the character into a category for that work.
Split into simpler sentences: However, an optional parameter may be used to supply the name of the fictional work that includes the character. That will sort the redirect into a category for that work.