fix HELIX-476, force to sort keys before save it to zookeeper and make h...

helix controller will crash when pyhelix act as participanter

https://issues.apache.org/jira/browse/HELIX-476