I am getting all the address collection from Magento\Customer\Model\CustomerFactory. I have also few filters like sorting the address company, etc. Now, I want to display the default shipping address at top of the collection. This may a silly question but I have spent some time and not getting any solution for this. It would be great if you help me with this.

Thanks in advance.

  • Please provide more details about when (level) are you want to sort address collection Aug 3 at 16:28


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.