Sort the game in sorthig and searching

https://ide.codingblocks.com/s/167945 what is wrong in this code ?? by using the unordered map

@guptaaman155 hey aman your code has so many logical error and the fact is that why you’re using a unordered map .
Unordered sets and maps doesn’t sort anything. They are hashed containers that depends solely on the operator== of the key (all keys with same hash will be save in a contiguous region of memory, called bucket). The order given to the keys is unspecified.
and there is no use of pointer so why are you using arrow to access the map and in the function argument passing again you did a mistake so I would suggest you to watch prateek bhaiya approach which is based upon the pairs.