Change Lookup.rearrange() to accept a list