Project sort

BDD file with acceptance criteria for sorting projects by last updated or alphabetical.
Feature: As a user I want to reorder my projects lists for my preffered view

Scenario: On the my projects dashboard viewing default sort
 Given  I am viewing my personal projects list
 Then  I should see my projects in Last updated order

Scenario Outline: Remembering last sort
 Given  my last sort is <sort>
 When  I go to my project dashboard
 Then  I can see projects ordered by <sort>

Examples:
| sort |
| Last updated |
| Alphabetical |

Scenario: Opening sort
 Given  I have clicked on the sort select box
 Then  the sort options will appear

Scenario Outline: Selecting sort
 Given  I click a <sort> that is the same as my current sort
 Then  My projects list state will persist
 And  the sort options will close

Examples:
| sort |
| Last updated |
| Alphabetical |

Scenario Outline: Changing sort
 Given  I click a <sort> that is different than my current sort
 Then  My projects list will update to be sorted by <sort>
 And  the sort options will close

Examples:
| sort |
| Last updated |
| Alphabetical |

Scenario: Closing sort
 Given  I have sort options in view
 And  I click on the sort title
 Then  the sort options will close

Scenario: No projects
 Given  I have no projects to sorted
 Then  sort will be disabled