int[] array = new int[132]{//132
115,105,106,107,108,109,110,111,112,113,114,
215,205,206,207,208,209,210,211,212,213,214,
315,305,306,307,308,309,310,311,312,313,314,
415,405,406,407,408,409,410,411,412,413,414,
115,105,106,107,108,109,110,111,112,113,114,
215,205,206,207,208,209,210,211,212,213,214,
315,305,306,307,308,309,310,311,312,313,314,
415,405,406,407,408,409,410,411,412,413,414,
115,105,106,107,108,109,110,111,112,113,114,
215,205,206,207,208,209,210,211,212,213,214,
315,305,306,307,308,309,310,311,312,313,314,
415,405,406,407,408,409,410,411,412,413,414
};
public int mxNum;
public int FinNum;
void Start()
{
for (int i = 0; i < array.Length; i++)
{
for (int j = i+1; j < array.Length; j++)
{
if (array[j]%100 > array[i]%100)
{
mxNum = array[j];
array[j] = array[i];
array[i] = mxNum;
}
if (array[j] % 100 == array[i] % 100)
{
if (array[j] > array[i])
{
FinNum = array[j];
array[j] = array[i];
array[i] = FinNum;
}
}
}
}
for (int i = 0; i < array.Length; i++)
{
print("---" + array[i]);
}
}