Fix unrefence sorted dictionary list bug