Three men who made £360,000 between them by running a major county lines drugs operation have been ordered to pay back the proceeds of their crimes.