Sort bugs in sprint view by priority

This is a stopgap until we can sort bugs in the page by columns.