bug 1318: Request the array containing the priorities to sort entries propoerly
Merge branch 'bug-1318' into testserver-stable