Analog Devices interview question

Could you write out a binary sort Algorithm in Python psuedocode?