---
schema_version: "1"
id: a9dba6805e315d0244e7c82711c09d05dbd31ee66edcf5ecf96349408a8935d7
title: Sorting Options for Upcoming and Overdue 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_future_activities.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.activitytimeline_sorting_future_activities.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: db1b67aeeb8ac2717b3d14eb350bd524268aee53087d2eed0959ea574bed0117
description: You can sort upcoming and overdue activities in one of two ways. The sort order is up to your preference.
products:
  - Sales Cloud
  - Cross Cloud
  - Service Cloud Voice
release: "264"
---
# Sorting Options for Upcoming and Overdue Activities in the Activity Timeline

You can sort upcoming and overdue activities in one of two ways. The sort order is up to your preference.

### 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>

Tasks that aren’t marked complete, with due dates in the past, are marked as overdue.

Items in the activity timeline and the activity history related list are sorted differently. Items in the activity history related list are sorted by due date.

## Oldest Dates First

Activities are sorted by their due date and time, from oldest to newest. If several activities have the same due date, they’re sorted by their last modified date.

Overdue activities are listed first, starting with the least recent due date. Then today’s activities are listed, followed by upcoming activities with due dates closest to today. Activities with no due date are listed last, starting with the most recently modified.

  
| Activity | Due Date | Description |
| --- | --- | --- |
| Overdue (not marked complete) | Today minus 5 days | Overdue activity with the least recent due date |
| Overdue (not marked complete) | Today minus 3 days | Overdue activity due 3 days ago |
| Overdue (not marked complete) | Yesterday | Overdue activity with the most recent due date |
| Upcoming | Today | Upcoming activity due today |
| Upcoming | Tomorrow | Upcoming activity with the due date closest to today |
| Upcoming | Today plus 3 days | Upcoming activity due 3 days from today |
| Upcoming | Today plus 5 days | Upcoming activity with the due date furthest from today |
| Upcoming | No due date (modified today) | Upcoming activity without a due date, with the most recent modified date |
| Upcoming | No due date (modified 3 days ago) | Upcoming activity without a due date, with the least recent modified date |

## Newest Dates First

Activities are sorted by their due date and time, from newest to oldest. If several activities have the same due date, they’re sorted by their last modified date.

Activities with no due date are listed first, starting with the least recently modified. Then upcoming activities with due dates furthest from today are listed, followed by today’s activities. Overdue activities are listed last, starting with the most recent due date.

When you sort by newest dates first, you see upcoming activities first. To see all upcoming and overdue activities from newest to oldest, click **View More**.

  
| Activity | Due Date | Description |
| --- | --- | --- |
| Upcoming | No due date (modified 3 days ago) | Upcoming activity without a due date, with the least recent modified date |
| Upcoming | No due date (modified today) | Upcoming activity without a due date, with the most recent modified date |
| Upcoming | Today plus 5 days | Upcoming activity with the due date furthest from today |
| Upcoming | Today plus 3 days | Upcoming activity due 3 days from today |
| Upcoming | Tomorrow | Upcoming activity with the due date closest to today |
| Upcoming | Today | Upcoming activity due today |
| Overdue (not marked complete) | Yesterday | Overdue activity with the most recent due date |
| Overdue (not marked complete) | Today minus 3 days | Overdue activity due 3 days ago |
| Overdue (not marked complete) | Today minus 5 days | Overdue activity with the least recent due date |

#### See Also

- [Change Sorting for Upcoming and Overdue Activities](https://help.salesforce.com/s/articleView?id=sales.activitytimeline_sorting_future_task.htm&release=264.0.0&type=5 "When you sort a list of upcoming and overdue activities, the sort order is up to your preference.")