---
title: "Sort"
date: 2020-11-17
author: "nK"
---

# Sort

Lets visitors reorder the items.

![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-15-at-20.23.15-1024x582.png)![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-15-at-20.23.15-1024x582.png)    ## Settings

SettingValuesDefault**Style**Minimal, Classic, DropdownDropdown![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-15-at-20.25.14-1024x582.png)![](https://staging.visualportfolio.com/wp-content/uploads/2024/07/Shot-2024-07-15-at-20.25.14-1024x582.png)    ## Sort options

The options offered are fixed:

OptionEffectDefault sortingThe block’s Order By and Order DirectionSort by date (newest)Publish date, newest first (upload date for Media)Sort by date (oldest)Publish date, oldest firstSort by title (A-Z)Title, ascendingSort by title (Z-A)Title, descendingThe selection travels in the `vp_sort` parameter and overrides the block’s order for that visitor. Developers can change the list with the `vpf_extend_sort_items` filter.

## Standalone sort

`[visual_portfolio_sort id="123" type="dropdown" align="center"]` prints the sort of Saved Layout 123 anywhere on the page. See [Saved Layouts and Shortcodes](https://staging.visualportfolio.com/docs/saved-layouts-and-shortcodes/).