Fix context.targets attribute

Remove targets argument to internal methods.  Reorder targets according to MPI rank order.