title: Sort with one element at the end
body: <p>I have a list of objects and I want to sort it alphabetically by an attribute. But I want to add an exception rule if this attribute matches a specific string. For example:</p>
  
  <pre><code>public class Car {
    String name;
  }
  </code></pre>
  
  <pre><code>List&lt;Car&gt; cars = asList(
      new Car("Unassigned"), 
      new Car("Nissan"), 
      new Car("Yamaha"), 
      new Car("Honda"));
  
  List&lt;Car&gt; sortedCars = cars
    .stream
    .sorted(Comparator.comparing(Car::getName))
    .collect(Collectors.toList());
  </code></pre>
  
  <p>If <code>cars.name == "Unassigned"</code> then this car should remain at the end of the list and the result would be:</p>
  
  <pre><code>[Car&lt;Honda&gt;, Car&lt;Nissan&gt;, Car&lt;Yamaha&gt;, Car&lt;Unassigned&gt;]
  </code></pre>