We’ve extended the toolset_get_related_posts() arguments by “orderby_role” which allows to specify by which role the ordering should happen (when the “order” argument is used). If the “orderby_role” argument is not present, the behavior doesn’t change and the first of the returned roles is used for ordering.
toolset_get_related_posts retrieves Custom Posts and orderby_role sorts retrieved Users by role. Posts don't have roles so I don't understand how it's possible to sort Posts by role or am I missing something??