Fix of sort spec in search examples, modification of priority field case.