Good day, friendly community. I have one trivial question, I decided, just in case, to clarify with you, to do, as they say, once and well.
There is a site on the site there is a menu. The menu is a huge number of links to different sections and just a page. At the moment, this is house and horror, since everything is displayed together and without sorting.
I want to comb it all ie sorted alphabetically by the principle of the Letter-> according to it, the items that begin with the letter. In principle, for myself, I figured out options for how this can be implemented, but I decided to consult just in case. I am not interested in the final code, but the algorithm itself or the principle to whom it is more convenient.
Thank you in advance.