So I got an answer over on Laracasts and I'd thought I'd post it here in case anybody is searching.
$store = Store::with('shirts', 'jackets')->find($id); $sortedInventory = $store ->shirts ->merge($store->jackets) ->sortBy(['pivot.inventory_date'], 'ASC');
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.