creates identical output to setupnash
starts tidying of lrs output
sorts lrs output