From: Tom Clegg Date: Thu, 28 Oct 2021 15:28:04 +0000 (-0400) Subject: Sort input files. X-Git-Url: https://git.arvados.org/lightning.git/commitdiff_plain/66c140245907441b976f21cccc337d361d92b306 Sort input files. refs #17763 Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/anno2vcf.go b/anno2vcf.go index 9f28d3b676..000ad98096 100644 --- a/anno2vcf.go +++ b/anno2vcf.go @@ -97,6 +97,7 @@ func (cmd *anno2vcf) RunCommand(prog string, args []string, stdin io.Reader, std return 1 } d.Close() + sort.Slice(fis, func(i, j int) { return fis[i].Name() < fis[j].Name() }) type call struct { tile int