Feature: sort As a CSL cite processor hacker I want the test sort_AguStyle to pass @bibliography @sort Scenario: Agu Style Given the following style: """ """ And the following input: """ [{"author":[{"family":"Smith","given":"Al","static-ordering":false}],"id":"item-1","issued":{"date-parts":[["1989"]]},"title":"Book One","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false}],"id":"item-3","issued":{"date-parts":[["1991"]]},"title":"Book Three","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false},{"family":"Allen","given":"Carl","static-ordering":false}],"id":"item-4","issued":{"date-parts":[["1992"]]},"title":"Book Four","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false},{"family":"Frank","given":"Beauregarde","static-ordering":false}],"id":"item-6","issued":{"date-parts":[["1997"]]},"title":"Book Six","type":"book"},{"author":[{"family":"Smith","given":"Al","static-ordering":false}],"id":"item-2","issued":{"date-parts":[["1989"]]},"title":"Book Two","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false},{"family":"Frank","given":"Beauregarde","static-ordering":false}],"id":"item-5","issued":{"date-parts":[["1995"]]},"title":"Book Five","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false},{"family":"Roberts","given":"Lionel","static-ordering":false},{"family":"Jones","given":"Theresa","static-ordering":false}],"id":"item-7","issued":{"date-parts":[["1993"]]},"title":"Book Seven","type":"book"},{"editor":[{"family":"Smith","given":"Al","static-ordering":false},{"family":"Jones","given":"Theresa","static-ordering":false},{"family":"Roberts","given":"Lionel","static-ordering":false}],"id":"item-8","issued":{"date-parts":[["1997"]]},"title":"Book Eight","type":"book"}] """ When I render the entire bibliography Then the bibliography should be: """
Smith, A. (1989a)
Smith, A. (1989b)
Smith, A. (1991)
Smith, A. and C. Allen (1992)
Smith, A. and B. Frank (1995)
Smith, A. and B. Frank (1997)
Smith, A., L. Roberts, and T. Jones (1993)
Smith, A., T. Jones, and L. Roberts (1997)
"""