Returns ordered

The script now returns items in order from low power to high.