Arm interview question

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