javascript sort not working pushes last object to the beggining code example
Example 1: javascript array
const arr = [1, 2, 3];
Example 2: array
// An array in javascript is basicly a data structure set out like this:
const MyArray = {"Object1", "Object2", "Object3"};