alphanumerically order entitie names in relation key
add hash to relation keys