In the sorting process, we can arrange the data in ascending or in order.
To find the median, the data should be arranged in ascending or descending order.