Just to output those two values or sorting or?
What have you tried so far?
Also what you can do and how you need to solve it may also depend on the datatype of status.
So if you do:
I would guess that bpimagelist is command line program and not a powershell command?
In that case $status is most likely just a string and not an array or hashtable.
So you would need to process the string to get the information the way you want it and so forth.