Alphabetical repeater ordering with upper/lower case titles?

Hello,

I am ordering repeaters in alphabetical order. However, a couple of brand names in the ordering start with a lower case letter (i.e., a lower case ‘i’). These are automatically sorted at the bottom of the list, after ‘Z’, as expected.

Is there a way/some code I can apply to the repeater to ensure that the lower case ‘i’ falls alphabetically (as if the lower case was not an issue), and not at the bottom?

Thanks in advance.

Hello from the Wix DevRel Team!

One way to solve this problem would be to use the forEachItem() function to convert everything to either uppercase or lowercase inside of the default onReady() function. You could then create another function that is called after that which modifies the string back to the correct typographic case that you’re looking for.

Hope this helps!

Rob

Thanks Rob :grinning: