The simplest workable system would be to burn everything (producing electricity) and filter the metals from the ashes.