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.

Sort numbers in found set

Featured Replies

I have a found set of numbers going from 1 to 70.

Problem is that in taht range (2 digits), there are numbers with 3 digits.

The 'sub-numbers', who are also in the regular number fields.

Sorting on the numbers will put the sub-numbers (like 610, 620, 650 etc) at the beginning or the end of the sorted range, where I need them (in the above example), between 60 and 70.

The range should be:

60

610

620

650

70

...

any hint how, without creating too much 'in between fields' ?

TIA

I'd suggest putting "sub-numbers" in a separate field. You could have a calc field (or merge field) that combines them for display purposes, although I think it's clearer if they're kept separate.

Hi

can you live with "numbers" that are not numbers, but text ?

Because, if those "numbers" are stored as text, sorting gives you what you wish.

  • Author

Ok Ender, thanks.

I did that, a new field,moved the 3 digit nrs to that field, and replaced the 3 digit by the corresponding 1 or 2 digit.

Still when sorting, it doesn't match. Although I'm already closer.

60

609

610

611

62

is what it should be...

60

62

609

610

611

is what it is.

What do I miss here ?

Somebody suggested to change the numbers to text...but I don't think that is a solution...

Is your field type = Number?

If it is text, it will sort the way you are describing.

If is a number, then it will sort properly.

HTH

Lee

Hi Lee

this type of sorting:

60

610

620

650

70

can be obtained only if the field is text type

I read the "what it is" as "what it should be".

  • Author

I duplicated the number fields, made them calculation = original number field, result text and sorted ....

It works... thanks everybody...great help.

Guess I will follow 'all' the proposed solutions, even when for me they don't sound very 'logic'...

Edited by Guest

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.