<!DOCTYPE html>
<meta charset="utf-8">
<title>Verify key sort order in an object store is 'number &lt; Date &lt; DOMString' </title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/support.js"></script>

<script>
    var db,
      d = new Date(),
      t = async_test(),
      records = [ { key: d },
                  { key: "test" },
                  { key: 