# Thread: Sorting Elements of Set Before Working On it?

1. ## Sorting Elements of Set Before Working On it?

Is it better to sort the elements of set before start working on it?

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?

2. The set of points have their natural ordering from $\mathbb{R}^2$.
So if you draw the points in $\mathbb{R}^2$, it doesn't matter at wich point you start, you'll still be making the same graph eventually.