Fix prioritySort for priority = 0
Fix condition when dataLoaded called before loadTimeout set
Merge pull request #1895 from brianchance/master

Fix prioritySort for priority = 0