for sort / compare multiple point numbers