This function is useful when you have to get an attribute value of a certain instance in Context (where there are multiple instances of the object of the required type in the Context).
FIND ALL Object ORDER BY Object.Attr
FIND ALL MyObject ORDER BY MyObject.SomeAttribute IF GET_ATTR_VALUE ('MyObject', 'MyAttribute', 5) = 'abc' THEN ...