Custom HashMap.foreach with sort function. Disconnection support. User modes quick get*