Resolves tdf#129836 - Alphabetize styles in the footnotes/endnotes dialog

List is sorted now

Change-Id: Ie9bc4f63412dabd6032f0a9b7225384823f2f39a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86490
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx
index 0265fb6..9542740 100644
--- a/sw/source/ui/misc/docfnote.cxx
+++ b/sw/source/ui/misc/docfnote.cxx
@@ -250,10 +250,10 @@ void SwEndNoteOptionPage::SetShell( SwWrtShell &rShell )
    m_xFootnoteCharTextTemplBox->clear();
    m_xFootnoteCharAnchorTemplBox->clear();
    ::FillCharStyleListBox(*m_xFootnoteCharTextTemplBox,
                        pSh->GetView().GetDocShell());
                        pSh->GetView().GetDocShell(), true);

    ::FillCharStyleListBox(*m_xFootnoteCharAnchorTemplBox,
                        pSh->GetView().GetDocShell());
                        pSh->GetView().GetDocShell(), true);
}

// Handler behind the button to collect the footnote at the page. In this case