This seems like its fairly simple, and should have been asked before, but everything I find on Stack Overflow doesn\'t seem to work. I have an array of 4 objects, and I\'d l
Array#values_at does exactly what you need:
array.values_at(*desired_order)