Frage im Vorstellungsgespräch bei Analog Devices

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