Niels
Posts: 0
Joined: Fri May 02, 2014 12:36 am

Sort list service alphabetically

Hello Community,

how do I sort a list service in alphabetical order? I have the following setup:

Image

After successful list service, I run the following javascript (I am completely new at javascript, so I have no idea what I'm doing...):

Image

Can anyone help?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Sort list service alphabetically

Hello Niels,

You shold sort data in serverside. Using Appery.io DB you can do it like this:
http://docs.appery.io/documentation/b...

Niels
Posts: 0
Joined: Fri May 02, 2014 12:36 am

Sort list service alphabetically

Hello Sergiy,

I sorted the data serverside, and the test function returns the data in the sorted order. But the list service in my app still returns the data unsorted, as before.

What am I missing?

Niels
Posts: 0
Joined: Fri May 02, 2014 12:36 am

Sort list service alphabetically

Sergiy, it worked! Thank you so much!

Dan Coates
Posts: 0
Joined: Sun Jul 05, 2015 3:35 pm

Sort list service alphabetically

Dragging this back up as the tutorial on sorting is no longer there, so how do you do it please?

Dan Coates
Posts: 0
Joined: Sun Jul 05, 2015 3:35 pm

Sort list service alphabetically

excellent thank you.

Abetroid
Posts: 0
Joined: Wed Aug 21, 2019 11:06 pm

Sort list service alphabetically

Up for this, pls send updated link.

Thanks

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Sort list service alphabetically

Sure, please check the API Reference page here: https://docs.appery.io/v2.4.0/referen...

Return to “Issues”