Rename vars to a more generic one to prepare for refactor.
Generic named vars.
Fix wrong heatscale selection + sort linked weapons by base heat in asc.