Bugfix in sort function (was overwriting probes if more than one had same position)