Fixing ordering problems by point value - issue #850