BLACK FRIDAY
Lifetime 50% discount on all plans
Use code
YCBF25
Ycode logotype
Features
Layout & Design

Experience full design control to craft professional websites.

CMS

Organize your content your way for maximum impact.

Forms

Build contact, newsletter, and filter forms effortlessly.

SEO

Boost your website's SEO with optimized controls.

Interactions

Add some spark to your website with interactions.

Localization

Translate your website into multiple languages.

Resources
Templates

Customize any template to fit your style and needs.

Integrations

Connect Ycode with your favorite tools.

Customer stories

Explore how others create amazing sites using Ycode.

Academy

Start learning Ycode for free. Get answers to your questions.

Experts

Find experts to help with your website project.

Blog

No-code insights to help you build and design better projects.

Support
Help Center

Find step-by-step guides and answers in our knowledge base.

Contact

Contact us for urgent help.

Community

Connect and learn from others.

Pricing Partners
Log in Sign up
Introduction
Getting started
Dashboard
Dashboard
New project
Profile
Switch account
Users
Billing history
Account settings
Project settings
Project settings
General settings
Project ownership
Allow cloning
Project plan
SEO
Domain
Redirects
API Tokens
Builder
Builder
Canvas
Layers
Switch page
Left-side panel
Editor mode
Keyboard shortcuts
Breakpoints
Preview
Publish
Elements
Elements
Structure
Content
Actions
Media
Tables
Lists
Layouts
Slider
Forms
Form structure
Data form
Filter form
Advanced form
Authentication form
HTML
HTML
Import
Export
Embed
Design
Layer styles
Components
States
Layout
Sizing
Spacing
Typography
Backgrounds
Borders
Position
Effects
Color controls
Animations
Intro to Animations
Trigger
Properties
Page settings
General settings
SEO settings
Social share
Page folders
Workflows
Intro to workflows
ID
Types
When
Events
Data
Interactive
Other
CMS
CMS Collections
Import data
Dynamic elements
CMS pages
Display settings
Filter and search
Collection sorting
Dynamic sorting dropdown options
Pagination
CSV Export
Settings
Integrations
Zapier
Airtable
Custom code
Custom code
Related articles
CSV Export
Pagination
Dynamic sorting dropdown options
Collection sorting
Filter and search
Display settings
CMS pages
Dynamic elements
Import data
CMS Collections
Documentation CMS

Dynamic sorting dropdown options

In this chapter, we’ll look at how to sort information on a filter with the Select element.

With this feature, you can choose a specific database field to use to sort information. This allows you to do cool things like add a number field to a database and manually order content.

How to use the Select element

First, make sure you have a Filter form that’s set up properly with a Select element. If you’re not sure how that’s done, check out our dynamic filter and search documentation. 

Alternatively, you can follow the tutorial below and use the Marketplace template.

Now that you’re in the editor, click on the Select element (in the Layers sidebar or Canvas). Head to the right side of the screen and click Settings.

Now open the dropdown next to Options and choose the database that you’d like to use for the filter. For us, that database is named “Field”.

Now under Options, you’ll see a new setting named Sort by. Here you can select a specific field to sort the content on the database by. 

Let’s say you want to manually choose the order of the content. 

Open the Database section from the menu on the left and select the database you’re using on the Select element (for us it’s “Field”). Then create a new Number field and name it “Order”. 

You can now manually update each row and add numbers to each number field to order rows accordingly.

Once that’s all set up, go back to the canvas.

Click on the Select element and open Settings on the right. Under Get options for and then next to Sort by, select the field we just created (“Order”).

If we now preview the page, you’ll see that the content order on the select element is exactly according to what you manually input in the database number field.

Browse by category

Dashboard
Project settings
Builder
Elements
Forms
Design
Animations
Page settings
Workflows
CMS
Settings
Integrations
Custom code
Ycode logotype

Visual development platform for designers and agencies.

Features Design CMS Forms SEO Animations Localization
Product Updates Pricing Templates Integrations Roadmap Developer API
Company About us Services Blog Contact Brand resources
Learn Help Center Academy Community Customer stories
Partner Experts Partner program Become a Ycode expert
Compare Ycode vs. Webflow Ycode vs. Framer Ycode vs. Squarespace
Let’s keep in touch

Join our monthly email with no-code insights and Ycode updates.

Done!

Thank you for subscribing.


2019 - 2025 © Ycode. All rights reserved.
Terms & Policies Cookies settings