When sorting your data costs more than cracking AES-128