fisrt go at sorting (data from New rig)