I want to sort a below categories by **name** and **place categories with ids: -1, 0 in begin**.

```
public class Category {
    Long id;
    String name;

    public Category(Long id, String name) {
        this.id=id;
        this.name=name;
    }    
}

Set<Categories> categories = new HashSet<>;
categories.add(new Category(2,"Drama"))
categories.add(new Category(-1,"Favorites"))
categories.add(new Category(3,"Cartoons"))
categories.add(new Category(1,"Biography"))
categories.add(new Category(0,"All"))

```

**How get such list?**

```
[{-1,"Favorites"}, {0,"All"}, {3,"Cartoons"}, {1,"Drama"}, {2,"Historical"}]

```

P.S. I have **Guava** lib