Update items_controller.rb

Add comment to explain all permutations catered for by #median.