Cleaning the Drupal Queue

Code to delete duplicate notifications in the queue

 

Code to show the queue sorted by notification value