I noticed when I use a custom shipping endpoint that the returned shipping endpoints are automatically sorted by price. ordinarily this would probably be fine, but in my customers case we need a custom method that allows customers to ship using their own account. so one of my return methods will be
array('id'=>99999, 0, 'Ship Using My Account')
if the customer chooses this option then I'll show them a few more fields to fill in their own shipping account info.
The only problem I see so far is in the sorting of these methods because this one always comes in first (not ideal) and should be shown last in the list.
it would be ideal if I could sort by service_id, or even by the index key order in which the methods are originally sent over?
otherwise do you have any suggestions?
I suppose another possibility would be to override the utils.inc.twig file and hard code this method below the ones dynamcally returned?