read this and maybe you understand why items in QHash can't be sorted Qt containers.