Robert Bosch interview question

basic array sorting using c