sort queryname add index in bismark