Skip Navigation

[Resolved] sort field by day not alphabetical

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 months, 4 weeks ago.

Assigned support staff: Luo Yang.


Tell us what you are trying to do?
is there a way to sort a column by day of week and not alphabetical?

Is there any documentation that you are following?

Is there a similar example that we can see?
not exactly.

What is the link to your site?
hidden link


Luo Yang

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)


How do you setup the "day of week" field?
Is it a custom select field?
If it is, you can setup the option "Custom field content" and option "Display text" differently, for example:
- Display text: Sun, Custom field content: 0
- Display text: Mon, Custom field content: 1
- Display text: Tue, Custom field content: 2

See screenshot day-of-week.JPG

So you will be able to order result by "day of week" field option value in your view.