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

Note that in citation sorts, an empty date is treated as zero,
while in a bibliography sort, empty-date items come at the end,
in both ascending and descending sorts.

>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">Item 2</div>
  <div class="csl-entry">Item 4</div>
  <div class="csl-entry">Item 1</div>
  <div class="csl-entry">Item 3</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="Dummy"/>
	</layout>
  </citation>
  <bibliography>
    <sort>
      <key sort="ascending" variable="issued" />
      <key variable="title" />
    </sort>
    <layout>
      <text variable="title" />
    </layout>
  </bibliography>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "id": "ITEM-1",
        "title": "Item 1",
        "type": "book"
    },
    {
        "id": "ITEM-2",
        "issued": {
            "date-parts": [
                [
                    "1999",
                    "2",
                    "15"
                ]
            ]
        },
        "title": "Item 2",
        "type": "book"
    },
    {
        "id": "ITEM-3",
        "title": "Item 3",
        "type": "book"
    },
    {
        "id": "ITEM-4",
        "issued": {
            "date-parts": [
                [
                    "2000",
                    "2",
                    "15"
                ]
            ]
        },
        "title": "Item 4",
        "type": "book"
    }
]
<<===== INPUT =====<<


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

