It's hard to determine medians without sorting