>>===== MODE =====>>
bibliography
<<===== MODE =====<<

Sort position of empty dates differs in citations and bibliographies.
In citations, empty dates have a value equivalent to zero.  In
bibliographies, they are always placed at the end of the sort
(whether ascending or descending).


>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">BookD 1999.</div>
  <div class="csl-entry">BookB 2000.</div>
  <div class="csl-entry">BookA.</div>
  <div class="csl-entry">BookC.</div>
  <div class="csl-entry">BookE.</div>
</div>
<<===== RESULT =====<<


>>===== CSL =====>>
<style 
      xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.0">
  <info>
    <id />
    <title />
    <updated>2009-08-10T04:49:00+09:00</updated>
  </info>
  <citation>
    <layout>
      <text value="Hello"/>
    </layout>
  </citation>
  <bibliography>
    <sort>
      <key variable="issued"/>
      <key variable="title"/>
    </sort>
    <layout prefix="" suffix=".">
      <group delimiter=" ">
        <text variable="title" />
        <date variable="issued">
          <date-part name="year" />
        </date>
      </group>
    </layout>
  </bibliography>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "id": "ITEM-1",
        "title": "BookA",
        "type": "book"
    },
    {
        "id": "ITEM-2",
        "issued": {
            "date-parts": [
                [
                    2000
                ]
            ]
        },
        "title": "BookB",
        "type": "book"
    },
    {
        "id": "ITEM-3",
        "title": "BookC",
        "type": "book"
    },
    {
        "id": "ITEM-4",
        "issued": {
            "date-parts": [
                [
                    1999
                ]
            ]
        },
        "title": "BookD",
        "type": "book"
    },
    {
        "id": "ITEM-5",
        "title": "BookE",
        "type": "book"
    }
]
<<===== INPUT =====<<


>>===== VERSION =====>>
1.0
<<===== VERSION =====<<

