Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sorting portal based on value list?

Featured Replies

I have a portal that shows all boarding reservations for a given date. Active reservations are given a pen number, and some reservations (like No Shows and Cancellations) are not given a pen number. I'd like to show ALL of the reservations, but make the active reservations show up on the top, and sort by them by pen number.

In technical terms...

When I simply sort by [pen_number], records with blank [pen_number] fields show up on top (obviously not what I want). So, I believe the correct method is by using the "Custom order based on value list". BUT, I do not know what to enter in my value list to sort ascending, THEN blank values... Any suggestions?

A specific solution would be great, but I wouldn't mind a general "Dummies Guide to Sorting by Value Lists" response. :

Edited by Guest

I would add a calculation number field of

IsEmpty(pen_number)

and sort by this field, ascending, then by pen_number.

  • Author

Thanks -Queue-, Works like a charm!

But, I'm still curious about sorting via value list... Does anybody routinely use that feature?

It's a very limited feature, bacause it looks for an exact match of data to a value. It is not an alternative alphabet.

IOW, if your value list is a, c, b, the sort will produce:

a

c

b

aa

ab

ac

As you see, where the entries are not an exact match to a value, the sort defaults to normal.

This feature is handy if you have a field that is set by a value list and you want sorting to follow some logic that is not alphabetical, e.g. month names.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.