Update stacks.php

changing usort to uasort to keep $stacks array keys intact.