In place of passing property benefit can I move index and have the property name and benefit ( so I can loop by way of the many property)? The right fix is to add the property in the sort definition as discussed in @Nitzan Tomer's answer. If that's not a https://propertyingurugram.in/residential/bptp-lutyens-102-sector-102-gurgaon/