some js to combine and sort the years