round'up:
print tab(-1,0)
print "Sorting data now........"
for jcount=1 to total'users
for icount=1 to total'users-jcount
if calls(icount)<calls(icount+1) then call swap
next icount
next jcount
print
print "Writing file to disk now..."
filename="sorted.log"
input "enter output file =>";filename
open #3,filename,output
for count=1 to total'users
print #3,initls(count),calls(count)
next count
print #3,total'users