Priority Disk Queue using sqlite