sort points before writing them to reduce the number of logged requests and replication requests
sleep while waiting for the other server to recover
Use SortPoints method that was already in protocol extensions
Merge pull request #352 from influxdb/sort_points

Sort points