Wissen Infotech interview question

How did you implement binary search over an array of objects ?