Make default reports use a cast of the priority value as int for proper sorting when more than 10 values are used.
Contributed by vnaum on #4715, thanks!
Authored by: cboos 2008-04-17
Parent: [r6839]
Child: [r6841]