sort data a bit