Server: sort applications and packages