Sort permissions list