---
schema_version: "1"
id: 99d5d08b6eba1cc7b0b01a060e98f3bf5c2f4df4cbecd2c78439a171b3ba670d
title: Appointment Bundle Sort Policy Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/fs_bundle_sort_policy_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.fs_bundle_sort_policy_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c5f3d1e08259e6b4585ba8ebc4d0ba64a7e1f4c0ff1a4d67e9770e0f14524813
description: Appointment Bundle Sort Policies have the following fields.
products:
  - Field Service
release: "264"
---
# Appointment Bundle Sort Policy Fields

Appointment Bundle Sort Policies have the following fields.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d28435e69">Field Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d28435e72">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Bundle Policy</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">The ID of the parent bundle policy.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Name</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">Name of the appointment bundle sort policy.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Sort Direction</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">
              <p>The order of the appointments in a bundle.</p>
              <p>Possible values are: </p>
              <ul>
                <li><code>Ascending</code></li>
                <li><code>Descending</code></li>
              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Sort Field Name</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">Name of the field in the service appointment used for sorting the bundle members.
              Possible values: All default and custom Service Appointment fields.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Sort Order</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">The order of fields used for sorting the bundle members.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e69 ">Sort Type</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d28435e72 ">The applied sort type for arranging the bundle. Sort for Automatic Bundling defines
              the order that automated bundling uses to examine the candidate service appointments to be
              bundled. Sort Within a Bundle defines the order of bundle members. It’s also used when you
              unbundle to define the order that the service appointments are scheduled on the
              Gantt.</td>

          </tr>
        </tbody>
      </table>

#### See Also

- [Create an Appointment Bundle Sort Policy](https://help.salesforce.com/s/articleView?id=service.fs_set_up_bundling_sort_policy.htm&release=264.0.0&type=5 "Use the default policy, or create multiple sort policies. For manual bundling, define a policy for sorting the bundle members within a bundle. The sorting is applied when bundling and unbundling service appointments. For automatic bundling, define a policy that determines the order that’s used to examine the bundling candidates.")