blue: sort out permissions by name

Change-Id: I83a06e3902593561195b60eb5c888132f1221e55