array: [17, 11, 78, 99]
sorterad: [11, 17, 78, 99]
median: 47.5