Sort Integers by the Power Value
A plasma forge processes energy signatures. Each signature is a positive integer, and the forge reduces it to the stable baseline value 1 by repeatedly applying a single transformation: if the current value is even, divide it by 2; if the current value is odd, multiply it by 3 and add 1. One application of the transformation counts as one step.