ticket:7 Added friends sorting by priority