Improved sorting in Smart Folders and Asset Blocks
In the upcoming February 2021 release, we will introduce a change in how assets are sorted in Smart Folders and Pages Asset Blocks. This change has two benefits:
- Sellers will see assets in a more logical and structured way, allowing faster access to what they need
- Assets will display faster as a result of fewer database queries in the background
The current way of sorting
As an administrator, you upload assets to your Content Library. The assets are then populated automatically in Smart Folders or in Asset Blocks on a Page when a filter is used. The order in which these assets are currently shown for sellers is calculated based on the filename, lower and uppercase, and the file extension (.PDF, .MOV, ...)
Introducing improved sorting
We will improve the sorting of assets, so it not only enhances performance but also allows more consistency for what sellers see. Below, you see the rules we will start using.
As an administrator, you can use these rules to define in what order assets will be displayed for users. Improved sorting is based on:
- Case-insensitive sorting.
("a" = "A") - Characters and symbols displayed first and then filenames that start with a digit.
("Asset.PDF" will be displayed before "1Asset.PDF") - Digits are grouped together and then sorted numerically.
("1Asset.PDF", "2Asset.PDF" will be displayed before "10Asset.PDF")
Differences between the current and updated sorting
Here are a few examples to make clear how the sorting of assets in Smart Folders and Pages Asset Blocks will change. The first column in each example shows how assets are currently sorted, and the second column shows the new and improved way assets will be sorted.
Example 1
A filename that starts with 0 will be ordered before 1 and not before any letter. You will notice that symbols and characters will be displayed first as well.
Current Order | New Order |
---|---|
-.jpg |
-.jpg |
0.jpg |
a.jpg |
a.jpg |
0.jpg |
1.jpg |
1.jpg |
Example 2
Digits will be used for sorting, even with prefixes.
Current Order | New Order |
---|---|
Azuqua.pdf |
Azuqua.pdf |
B2B Sales.pdf |
Bakery.pdf |
Bakery.pdf |
Banking.mov |
Banking.mov |
B2B Sales.pdf |
Example 3
Versioning-like text in filenames is sorted consistently, based on the character and digits rules mentioned above.
Current Order | New Order |
---|---|
Document 1.9.url | Document 1.9.url |
Document 10.17.url | Document 2.24.url |
Document 10.17.url | Document 2.24.url |
Document 12_12.gs | Document 3.2.url |
Document 12.5.url | Document 3.9.url |
Document 2.24.url | Document 3.16.url |
Document 2.24.url | Document 3.23.url |
Document 3.16.url | Document 4.13.url |
Document 3.2.url | Document 4.20.url |
Document 3.23.url | Document 5.4.url |
Document 3.9.url | Document 5.11.url |
Document 4.13.url | Document 5.18.url |
Document 4.20.url | Document 6.2.url |
Document 5.11.url | Document 6.2.url |
Document 5.18.url | Document 6.29.url |
Document 5.4.url | Document 6.29.url |
Document 6.2.url | Document 7.6.url |
Document 6.2.url | Document 7.6.url |
Document 6.29.url | Document 7.13.url |
Document 6.29.url | Document 7.13.url |
Document 7.13.url | Document 7.13.url |
Document 7.13.url | Document 8.10.pdf |
Document 7.13.url | Document 8.10.url |
Document 7.6.url | Document 8.17pptx |
Document 7.6.url | Document 8.17.pdf |
Document 8.10.pdf | Document 8.17.url |
Document 8.10.url | Document 9_28 -.pdf |
Document 8.17pptx | Document 9.28.url |
Document 8.17.pdf | Document 10.17.url |
Document 8.17.url | Document 10.17.url |
Document 9_28 -.pdf | Document 12_12.gs |
Document 9.28.url | Document 12.5.url |