Sort blocks in order of key use