Order in sites

Brass Contributor

Hi,

I'm  displaying information about subsites in several designs. Information about subsites is displayed in the automatic order of my reading.

My question is .... any idea about how to control the order for the sites listed in an API Rest call?

Thank you!

2 Replies
Have yout tried to apply the orderby rest operation? This is an old example about using operatos in SharePoint REST calls, but still valid: https://www.c-sharpcorner.com/article/sharepoint-2013-using-rest-api-selecting-filtering-sortin/

Hi @jcgonzalezmartin

 

perhaps my question is not clear enough... I need to give users a way to set the order to display sites... Then, I wonder if there is some property that users can edit and, after that, to order by this property....

 

Thanks!