function [ output_args ] = arrange_bck ()

outfile='../obs_float/generated_fwd.dat';
load ../obs_float/r_float_obs.dat;
[d,f]=size(r_float_obs)
floater1=zeros(d,f);


fid = fopen('../obs_float/r_float_obs.dat', 'rb');
fseek(fid, 0, 'eof');
fileSize = ftell(fid);
frewind(fid);
data = fread(fid, fileSize, 'uint8');
numLines = sum(data == 10) + 1;
fclose(fid);
m=numLines-1;
count1=1;
for i=1:m
    if r_float_obs(i,3)==1
        floater(count1,:)=r_float_obs(i,:);
        count1=count1+1;
    end
end

for i=1:m
    if r_float_obs(i,3)==2
        floater(count1,:)=r_float_obs(i,:);
        count1=count1+1;
    end
end
for i=1:m
    if r_float_obs(i,3)==3
        floater(count1,:)=r_float_obs(i,:);
        count1=count1+1;
    end
end



fid=fopen(outfile,'w');
fprintf(fid,'%d %d %d %f\n',floater');
fclose(fid);
end