Fixed segsort bug on peculiar array. Thanks Jacopo.