Given an array, find mimimum number of swap needed to make a new array such that difference between two consecutive elements minimum

Please somebody explain the entire approach