---
schema_version: "1"
id: 2fb46b0a40d46506fd23e6e24035356a3788b78f902e7769cc2adaf5db9dd6f0
title: Sorting Options for Past Activities in the Activity Timeline
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/activitytimeline_sorting_past_activities.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.activitytimeline_sorting_past_activities.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 75fa1c6e5d1554a76d1be2f8f56d7b75444ca8954c86b472de50a7f419100b05
description: "Past activities can be sorted in one of two ways: the date the activity was due, or the date the activity was completed. If there’s no due date, or the due date is in the future, the last modified date is used."
products:
  - Sales Cloud
  - Cross Cloud
  - Service Cloud Voice
release: "264"
---
# Sorting Options for Past Activities in the Activity Timeline

Past activities can be sorted in one of two ways: the date the activity was due, or the date the activity was completed. If there’s no due date, or the due date is in the future, the last modified date is used.

### 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 Lightning Experience in: <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

Sorting activities by their due date can give a misleading picture of when something actually happened. Often, an event is completed on a different day that when it was scheduled.

Items in the activity timeline and the activity history related list are sorted differently. Items in the activity history related list, including tasks, are sorted by the due date. Events with no due date are shown at the bottom of the list.

## Sort by Completed Date

In this case, past activities are sorted by completed date and data specific to the activity.

 
| Activity | Sorting |
| --- | --- |
| Task | Completed Date Time |
| Logged Call | Completed Date Time |
| Event | Due Date Time, which is the same as Start Date Time |
| Email | Completed Date Time, which is the same as Email Sent Date Time |
| List Email | Schedule Date |
| Cadence Task | Completed Date Time |

## Sort by Due Date

In this case, past activities are sorted by due date and data specific to the activity.

 
| Activity | Sorting |
| --- | --- |
| Task | Due date descending. If no due date, or due date is in the future, last modified date. |
| Logged Call | Due date descending. If no due date, last modified date. |
| Event | Start DateTime, then secondary sorting by last modified date |
| Email | Message Date |
| List Email | Schedule Date |
| Cadence Task | Due date, then last modified date |

#### See Also

- [Change Sorting for Past Activities](https://help.salesforce.com/s/articleView?id=sales.activitytimeline_sorting_past_activities_task.htm&release=264.0.0&type=5 "Past activities can be sorted in one of two ways: the date the activity was due, or the date the activity was completed.")