IQVIA interview question

If there is an integer array how will you find the 3rd largest number from it. write a java code for that.