---
# System prepended metadata

title: E1AM-229 - Sort Function
tags: [Ecommerce 1, Admin Panel, Sprint 21]

---

# E1AM-229 - Sort Function

> As a Sinbad Admin, I should be able to sort column, so that I can get relevant data based on what column I've sorted

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I want to access Sort Menu
    Given the user has logged in to Admin Panel
        And the user is on OMS Page
    When the user clicks 'Sort' button
    Then show Sort Menu
```

#### Test Scenario 2
```gherkin
Scenario Outline: As an Admin, I want to sort the shown data
    Given the user has logged in to Admin Panel
        And the user is on OMS Page
        And the user has opened Sort Menu
    When the user clicks <sortType>
        And the user clicks 'Apply'
    Then redirects back to OMS Page
        And show list data sorted based on <sortType>
    Examples:
    | sortType   |
    | orderDate  |
    | orderValue |
```

###### tags: `Sprint 21` `Ecommerce 1` `Admin Panel`