objs.sort((a,b) => { if (a.value == "your value") return parseInt("-" + objs.indexOf(a)) // moves up based on its index })