Adapt SAQSort to gapped suffix arrays