Sorting Program In Javascript The Xy