In ResultList Cartridge template, there is an attribute set for Price which is product.price for sorting.
Now my index is not having this field but I have some different field. So I changed the template to put my field in.
I run set_template.bat. Logged out and logged in again. But when I go the application, and try to sort on results, it is still looking for product.price and the not new field that I have put in.