private static EComparison Compare(SqlGuid x, SqlGuid y)
{
//Swap to the correct order to be compared
for (int i = 0; i < s_sizeOfGuid; i++)
{
byte b1, b2;
b1 = x._value[s_rgiGuidOrder[i]];
b2 = y._value[s_rgiGuidOrder[i]];
if (b1 != b2)
return (b1 < b2) ? EComparison.LT : EComparison.GT;
}
return EComparison.EQ;
}