I've got 4 double's
double newmanUtil = newmanYard.oreTonnes / time();
double yandi1Util = yandiMine1.oreTonnes / time();
double yandi2Util = yandiMine2.oreTonnes / time();
double miningAreaCUtil = miningAreaC.oreTonnes / time();
and I need an operation ( and loop) to rank the resulting numbers in order from least to greatest as four integers...
int NYRank = 0;
int Y1Rank = 0;
int Y2Rank = 0;
int MACRank = 0;
I feel like this is something simple that someone knows how to do quickly...
Thanks in advance,