Implement median finder algorithm, requires reading all values in memory and sorting them - or doing two passes of the data