Sorting of a multi-subunit ubiquitin ligase complex in the endolysosome system