fixed comparison in < operator of SampleData

This could have lead to samples not being ordered the same way every time