Sort list of targets in --version.