Write a sorted and unsorted linked priority queue in java netbeans.

Write a sorted and unsorted linked priority queue in java netbeans.