After adding functionality to sort UI applications by Max downloads, then Average rating

Signed-off-by: unknown <cnwnh1@cnwcb5a.cnw.co.nz>