Arm Interview Question

Write some code to efficiently sort three input number from hardware perspective