SharePoint Document Issues

How to Keep Imported SharePoint Excel Items in Alphabetical Order in Power Apps

Nimra MalikNimra Malik Oct 28, 2026 868 views

Question details

The user needs to maintain alphabetical sorting for an Excel table imported into a SharePoint list when it is displayed in a connected Power Apps application.

How to Keep Imported SharePoint Excel Items in Alphabetical Order in Power Apps
Product
SharePoint and Power Apps
Device & OS
not provided
Scenario
Displaying data from a SharePoint list (imported from Excel) within a Power Apps dropdown or gallery, where new entries must be sorted alphabetically.
Observed behavior
New items added to the list appear at the bottom instead of in alphabetical order. Temporary sorting and new views created in SharePoint do not persist in the connected Power Apps interface.
Before you start

Ensure you have edit permissions for both the SharePoint list and the Power Apps application, and verify that the app is connected to the correct data source.

Solution 1Recommended

Apply Sorting Directly Using SortByColumns in Power Apps

Power Apps does not automatically inherit SharePoint view sorting. Use the SortByColumns function to enforce alphabetical order directly in the app.

When you connect a SharePoint list to Power Apps, the application retrieves the raw data rather than the specific view formatting configured in SharePoint. To ensure items always appear alphabetically in your dropdown or gallery, you must apply a sorting formula directly to the Items property of the control.

1
Open the App in Power Apps Studio

Log in to Power Apps, select your application, and click 'Edit' to open it in Power Apps Studio. Select the control (such as a Dropdown, Combo box, or Gallery) that displays your SharePoint data.

2
Navigate to the Items Property

With the control selected, go to the right-side properties pane or use the formula bar at the top to locate the 'Items' property.

3
Apply the SortByColumns Formula

Modify the formula to wrap your data source with the SortByColumns function. For example, enter: SortByColumns(YourSharePointList, "Title", SortOrder.Ascending).

4
Save and Publish

Click 'File' > 'Save', and then publish the app. New items added to the SharePoint list will now automatically be sorted alphabetically in the app.

Apply Sorting Directly Using SortByColumns in Power Apps
Use Internal Column Names: Ensure you use the internal column name in the formula (e.g., "Title"), which might differ from the display name if you renamed the column after creating it in SharePoint.
Free Microsoft Office alternative

Manage Your Spreadsheets Efficiently with WPS Office

While SharePoint and Power Apps require complex configurations for simple sorting tasks, you can manage, sort, and organize your Excel tables seamlessly offline with WPS Office. It is a free, lightweight, and highly compatible alternative to Microsoft Office.

  1. 1. Open Your File: Launch WPS Spreadsheet and open your .xlsx or .csv data file.
  2. 2. Select the Data: Highlight the column or data range you wish to organize.
  3. 3. Sort Alphabetically: Navigate to the 'Data' tab on the top ribbon and click 'Sort Ascending' to instantly organize your items from A to Z.
Fully compatible with Microsoft Excel (.xlsx, .xls) and CSV formats.Built-in advanced sorting and filtering tools to keep your data organized alphabetically with just one click.Lightweight design ensures fast loading and processing of large data tables.Familiar user interface makes migrating from Microsoft Office completely seamless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Power Apps dropdown not match my SharePoint list order?

Power Apps fetches the raw data from your SharePoint list and does not inherit the specific view or sorting configurations set up in SharePoint. You must explicitly define the sorting order within Power Apps.

How do I sort a dropdown alphabetically in Power Apps?

Select your dropdown control, navigate to the 'Items' property in the formula bar, and use the formula: SortByColumns(YourDataSource, "ColumnName", SortOrder.Ascending).

Will creating a new view in SharePoint fix Power Apps sorting?

No, a new view in SharePoint only organizes the data when viewed directly in the SharePoint interface. It does not automatically apply that sorting order to connected Power Apps.

What happens if new items added to the SharePoint list appear at the bottom?

This is the default behavior for new list items in SharePoint when no explicit sorting is applied. To fix this in your app, ensure your Power Apps data source has ascending sorting explicitly configured using the SortByColumns function.