Anonymous interview question

How sorting can be apply on maps??