Question about arrays of objects

I have an array of objects and I want to take one object in the array that meets a certain criteria and bring that one object to the front of the array while removing it from it’s previous position. What is the easiest/best way to achieve this?
the fact that it involves objects seems to complicate things…
thx for the help!