code: private void orderPolicies(PoliciesBean policies) {
          int idx = 1;
          for (PolicyBean policy : policies.getPolicies()) {
              policy.setOrderIndex(idx++);
          }
      }
docs: Set the order index of all policies.
  @param policies