Fixed sorting for Belphegor apps view
Also renamed the Belphegor app column model (it is no longer called 'analysis').
Factored out some comparators for cleaner re-use between modules.
CORE-5468