adding order by clause in order to get deterministic order of points back

deterministic order of points back