Feature: Sorting
As a hacker of cite processors
I want to sort citation items
According to the rules of a CSL style
Scenario: Name sorting
Given the following sort keys:
"""
"""
When I sort the following items:
| author |
| Edelweis |
| ANZ-Group |
| Aardvaark |
Then the order should be:
| ID-2 |
| ID-1 |
| ID-0 |
Scenario: Name sorting macros
Given the following sort keys:
"""
"""
And the following macro:
"""
"""
When I sort the following items:
| author |
| ABC |
| Aaa |
Then the order should be:
| ID-1 |
| ID-0 |