Analog Devices Interview Question

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