For example I have a set

B = {1,2,3,4}

A relation R is defined on B as

R = {(1,2), (4, 3), (2,4), (3,1), (1, 3), (4, 1)}

Shouldn’t I sort the elements of R as follows before I make a directed graph or show matrix representation etc?

R = {(1,2), (1, 3), (2,4), (3,1), (4, 1), (4, 3)}

Will it affect the logic and/or value of set?

Any suggestion please?

Thanks!