public static bool operator <( RBFormat lhs, RBFormat rhs )
{
if ( lhs.Format < rhs.Format )
{
return true;
}
else if ( lhs.Format == rhs.Format )
{
if ( lhs.Width < rhs.Width )
{
return true;
}
else if ( lhs.Width == rhs.Width )
{
if ( lhs.Height < rhs.Height )
return true;
}
}
return false;
}