Pivot Table Issues

How to Fix Pivot Table and Slicer Ignoring Custom Sort Order

Chanuka GeekiyanageChanuka Geekiyanage Oct 29, 2026 870 views

Question details

The user needs a pivot table and slicer to sort dates chronologically followed by a specific text value, but the custom list and helper columns are being ignored.

Fix Pivot Table and Slicer Ignoring Custom Sort Order
Product
Excel
Device & OS
not provided
Scenario
Sorting an attrition tracker containing mixed data types (dates and a 'still working' text status) within a pivot table and slicer.
Observed behavior
The pivot table and slicer fail to consistently apply the custom sort list or the numeric helper field, resulting in data displayed in the wrong order.
Before you start

Ensure that your date fields contain valid, properly formatted date values rather than text strings, as mixed data types can override custom sorting logic.

Solution 1Recommended

Enable Custom Lists and Verify Data Types

Ensure your pivot table is explicitly configured to use custom lists and that your dates are formatted as real dates.

Pivot tables group different data types (like numbers and text) separately by default. A custom list can override this, provided the pivot table settings allow it and the source data is clean.

1
Format source data dates

Highlight your date column in the source data, right-click, select 'Format Cells', and ensure it is set to a standard 'Date' format rather than 'Text'.

2
Access Pivot Table sort options

Right-click any item in your Pivot Table row labels and select 'Sort', then click 'More Sort Options'.

3
Enable custom lists in sort options

Click 'More Options' at the bottom of the Sort dialog box.

4
Apply the setting

Uncheck 'Sort automatically every time the report is updated' if it is interfering, check the box for 'Use Custom Lists when sorting', and select your previously created custom list.

Enable Custom Lists and Verify Data Types
Slicer Limitations: Even with custom lists enabled, slicers may sometimes default to alphabetical order if the field contains heavily mixed data formats.
Advanced Data Management

Easily Manage and Sort Pivot Tables in WPS Spreadsheet

WPS Spreadsheet provides robust, highly customizable pivot tables fully compatible with Microsoft Excel. Easily build custom sort orders and manage mixed data types without complex workarounds.

  1. 1. Open your data file: Launch WPS Spreadsheet and open your tracker file.
  2. 2. Create a Pivot Table: Navigate to the 'Insert' tab, select 'PivotTable', and specify your source data range.
  3. 3. Build your report: Drag your fields into the Rows and Values areas within the PivotTable Fields pane.
  4. 4. Apply custom sorting: Right-click the row labels, choose 'Sort', and apply your custom sorting rules directly from the intuitive prompt.
Advanced pivot table and slicer sorting capabilities.Fully compatible with Microsoft Excel (.xlsx) formats.Intuitive interface for creating custom lists and managing mixed data.Lightweight, free, and designed for maximum productivity.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my slicer sorting alphabetically instead of chronologically?

Slicers typically inherit the base formatting of the source column. If a column contains dates formatted as text, or a mix of dates and text strings, the slicer defaults to sorting everything alphabetically. Ensuring your data is strictly typed or using a numeric helper column resolves this.

How do I create a new custom list for sorting?

Go to File > Options > Advanced. Scroll down to the General section and click 'Edit Custom Lists'. From there, type out your desired list items in order (e.g., specific dates followed by 'still working') and click 'Add'.

Can a Pivot Table sort mixed data types like numbers and text together?

By default, a pivot table groups numeric values (including dates) first, followed by text values. To override this default hierarchy and blend them, you must either use a well-defined Custom List in the Pivot Table sort options or rely on a helper column to standardize the logic.