title: How to return next status following a specific status that has occured
body: <p>I'm looking to return the next status after an order has been received, however only looking to capture certain statuses within the following list: 'Shipped', 'Partially shipped', 'Cancelled'
  Below is the orders table</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Order ID</th>
  <th>Order Status</th>
  <th>Date</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>Received</td>
  <td>1/1/2021</td>
  </tr>
  <tr>
  <td>1</td>
  <td>Partially Shipped</td>
  <td>1/1/2021</td>
  </tr>
  <tr>
  <td>1</td>
  <td>Returned</td>
  <td>1/2/2021</td>
  </tr>
  <tr>
  <td>1</td>
  <td>Received</td>
  <td>1/2/2021</td>
  </tr>
  <tr>
  <td>1</td>
  <td>Shipped</td>
  <td>1/3/2021</td>
  </tr>
  <tr>
  <td>2</td>
  <td>Received</td>
  <td>1/1/2021</td>
  </tr>
  <tr>
  <td>2</td>
  <td>Acknowledged</td>
  <td>1/1/2021</td>
  </tr>
  <tr>
  <td>2</td>
  <td>Shipped</td>
  <td>1/1/2021</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>As you can see for order ID 2 the following status after received is Acknowledged, but I want to only grab the next status that falls within the following list : 'Shipped', 'Partially shipped', 'Cancelled'
  Therefore the following output would be correct, skipping acknowledged and returning shipped</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Order ID</th>
  <th>Order Status</th>
  <th>Date</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>Partially Shipped</td>
  <td>1/1/2021</td>
  </tr>
  <tr>
  <td>1</td>
  <td>Shipped</td>
  <td>1/3/2021</td>
  </tr>
  <tr>
  <td>2</td>
  <td>Shipped</td>
  <td>1/1/2021</td>
  </tr>
  </tbody>
  </table>
  </div>