Categories now sort by incident count. fixes #3