[feature] [map] add compare functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
[update] fix copy-pasted parameter names

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
[feature] [set] add compare functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>