I am working with an array that looks like this
var column = ["generic complaint", "epidemic complaint", "epidemic1 complaint", "epidemic2 complaint", "bal vivah", "name"]
My goal is to move the last element of the array to the first position, resulting in a sorted array like this
var column = ["name","generic complaint", "epidemic complaint", "epidemic1 complaint", "epidemic2 complaint", "bal vivah"]
I am looking for a solution in TypeScript