reverse
Reverse the order of a DefineList.
list.reverse()
Reverses the elements of the DefineList in place.
import {DefineList} from "can";
const list = new DefineList(["Alice", "Bob", "Eve"]);
const reversedList = list.reverse();
console.log(reversedList.get()); //-> ["Eve", "Bob", "Alice"]
console.log(list === reversedList); //-> true