My use-case is to increase the priority of a build if it has been triggered by a Maven release. Release builds on a shared Jenkins server are normally more important than f.e. timer-triggered builds.
Please have a look at my pull request at https://github.com/jenkinsci/priority-sorter-plugin/pull/46 . It is very similar to the existing TriggeredByUser implementation.