generate sequential FID when sorting results by baseline distance