Sometimes you need to sort alphabetically the links in your  store. With this trick, you can do

Edit the file LinkBlockPressenter.php located in  in  modules/ps_linklist/src/Presenter

    private function makeLinks($content, $custom_content)


        $cmsLinks = $productLinks = $staticsLinks = $customLinks = $categoryLinks = [];

        if (isset($content['cms'])) {

            $cmsLinks = $this->makeCmsLinks($content['cms']);


        if (isset($content['product'])) {

            $productLinks = $this->makeProductLinks($content['product']);


        if (isset($content['static'])) {

            $staticsLinks = $this->makeStaticLinks($content['static']);


        if (isset($content['category'])) {

            $categoryLinks = $this->makeCategoryLinks($content['category']);


        $customLinks = $this->makeCustomLinks($custom_content);

        $cmsl= array_merge(







         $positions = array_column($cmsl, 'title');

         array_multisort($positions, $cmsl);

         return  $cmsl;


Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".