C # implementation to sort the elements of the array in such a way that absolute difference between the adjacent elements are in increasing order
using System ; using System . Collections . Generic ; class GFG {