format & order output by swap size