pub fn compare_objects(
a: &SceneObject,
b: &SceneObject,
sort: &[SceneObjectComparator],
) -> OrderingExpand description
Order two objects by sort (“Sort properties: createdAt, name”;
RFC 8620 §5.5: later comparators break ties of earlier ones), then by
id so the order is total.
ponytail: name compares by Unicode code point and ignores the
comparator’s collation; objects without a name go last in either
direction, as compare_assets does.