Ordering relationships

Is it possible to order relationships, something link store a ordernumber with the relatingship?

  • Ok  -so I have done it this way, to get a orderd video-playlist of entities for every user:

    //generate a name for metadata unique for every user

    //use this metadata to order the entities
    $videoentity->$ordernumbername; //put the ordernumber to one entity

    //Get the entities ordered by the generated name
    $params = array(
    'type' => 'object',
    'full_view' => false,
    'name' => $ordernumbername,
    'direction' => 'ASC',
    $videos= elgg_get_entities_from_metadata($params);


    No relationships needed!