[PATCH 02/13] util: hash: Rewrite sorting of elements in virHashGetItems