const sortedDataSet = dataSet.slice().sort((a, b) => a - b)
const middleIndex = Math.floor(sortedDataSet.length / 2)
if (sortedDataSet.length % 2 === 0) {
const sortedDataSet = dataSet.slice().sort((a, b) => a - b)
const middleIndex = Math.floor(sortedDataSet.length / 2)
if (sortedDataSet.length % 2 === 0) {