If you find when you generate your report the locations, samples are in the wrong order its likely you need to toggle the option for Manual ordering to Auto ordering. To make this change follow the steps below;
Run and login to KeyLAB as the Administrator
Click on "Options"
Click on the "Locations" tab
Un-tick the option for "Perform Custom location ordering"
Select "ok" to save the change.
Your locations will now order automatically by Location, Sample depth and then sample reference.