changes in query ie sort feature