mass spec data sorting algorigthm complete, at least that's what I think