r1386 + getUserPermissions(): sort by user_name