A judge has ordered lawsuits by Fortnite owner Epic Games against Apple and Google to be heard together with class actions against the tech giants on behalf of app developers and customers who accuse them of distorting competition in the app marketplace.