Is there any way we can sort the displayed categories on Knowledge base home alphabetically?
Current Code to display categories:
Hi Pratiksha,
You can use order_by liquid filter:
Returns the elements of an array ordered by a given attribute of the elements of the array.Optionally, you can provide desc as a second parameter to sort the elements in descending order, rather than ascending.
https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-filters#order_by
Go portal Management > Web Template > Knowledge Base - Home to add following code:
Test Result:
Hi Partner,
Has the problem been solved? Any updates?
Please click Yes under "Did this answer your question?" to close this thread.
Thanks.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 42 Super User 2025 Season 2
MVP-Daniyal Khaleel 40
CU23101130-0 17