adding column sorting for Encounter Search