Sort the points before render.

Avoiding unorderness caused by asynchrony.