To find the average or mean of a set of data, it has to be arranged either in ascending or descending order only.
To find the median, the data should be arranged in ascending or descending order.
Organising the numbers in ascending or descending order makes it easier to find out information from the data.