Fixes #255 - orderByPriority always returns an array
Merge pull request #258 from katowulf/master

Fixes #255 - orderByPriority always returns an array