Method about get minest data from a integer array