IBM interview question

binary sorting, keys in tables