Pergunta de entrevista da empresa ValueMomentum

Double sorting through an anonymous hashing function...?