map links currently (supposedly ) are sorted by element type and then by 'from'. this is bad, because sorting by type is not obvious to user, and is illogical (link can connect two elements of different types).
suggested solution :
sort by "from" first;
sort by "to" second;
sort by map link id last.
also, how are "from" and "to" decided ? by selementid or in a different way ?
(1) this all should be documented somewhere