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

Collection sorting

With dynamic collection sorting, web visitors can sort through content according to specific parameters, like name, ID, date updated, date created, and much more!

Note: To demonstrate this feature, we'll use the car database that we've created in the previous step. Please open the dynamic filter and search documentation before and follow the steps before continuing with this one tutorial.

Dynamic collection sorting in Ycode

Have you set up the car database that we've created in the previous step? Great!

As a first step, we'll add an input element to a form. Select your form element, and then in the top panel, click on the Form icon and choose Select.

You can now drag the element to where you want it to be and style it with the settings on the right. We'll explain all the design settings here.

Now we'll select the table that's used for the content filters. For us, it's the list of cars, so we'll select the layer that's named "Cars".

With the element selected, open the settings on the right-hand side, and under Get data from, you'll see a new setting named Sort by.

Here you can choose a specific field to apply the sorting to. For our example, we'll choose Input value—it's also the option you're most likely to use in other situations.

Once selected, you can choose the field that's used to sort through the content. Keep your mouse clicked on Input value and drag it to any field to connect them both. We're dragging it to the Select field.

Now under Sort by, you'll see a new option: Order. This allows you to choose the order in which the content is sorted. The options are:

  • Input value

  • Ascending

  • Descending

We're choosing ascending.

Click the Select input field layer in the Layers sidebar and open the settings on the right-hand side. Under Get options for, open the Options dropdown and select Sort by.

This will display new settings, one of which is Columns. Here you can choose the different fields you want to sort the content by. We'll leave all fields selected for this example.

Let's preview the app and see the work we've done! As you can see, web visitors can now easily sort through data collections on your website.

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