Hi @anupampat
I think if you use sling model instead of calling properties directly to sightly, you can resolve the resource and get the valueMap of the resource. Then you will get all the values in a sorted order by the property names. And then you can return this map. You can give a try with this...