In lieu of passing property value can I pass index and acquire the property name and benefit ( so I can loop through all the property)? The correct take care of is to add the property in the sort definition as discussed in @Nitzan Tomer's reply. If that is not https://propertyingurugram.in/commercial/ganga-realty-swarnim-35-sector-35-sohna/