Sorting the list of addresses generated by Joomla / Virtuemart

I am trying to make a list created by Virtuemart 2 sorted alphabetically. I found where the list is showing in the view, but I can't do anything with this code, all I have to work with is this:

<?php echo $this->lists['shipTo']; ?> 

      

I found this code in

components/com_virtuemart/views/user/tmpl/edit_address_addshipto.php

      

I tried using JS, but I need a class for the UL that is generated, the UL is not getting the class.

Can someone explain to me how I can sort this list?

+3


source to share





All Articles