diff --git a/index.bs b/index.bs index 9cebf2c..5e41c1f 100644 --- a/index.bs +++ b/index.bs @@ -497,7 +497,7 @@ new database is created it doesn't contain any [=/object stores=]. An [=/object store=] has a list of records which hold the data stored in the object store. Each record consists of a [=/key=] and a [=/value=]. The list is sorted according to key in -ascending order. There can never be multiple records in a given object +[=ascending=] order. There can never be multiple records in a given object store with the same key. An [=/object store=] has a name. The name can be any string @@ -726,7 +726,7 @@ To compare two keys |a| and |b|, run these steps: -The [=/key=] |a| is greater than the [=/key=] |b| if the +The [=/key=] |a| is greater than the [=/key=] |b| if the result of running the steps to [=compare two keys=] with |a| and |b| is 1. @@ -5820,7 +5820,7 @@ follows. 4. Store a record in |store| containing |key| as its key and |value| as its value. The record is stored in the object store's [=object-store/list of records=] such that the list is sorted - according to the key of the records in ascending order. + according to the key of the records in [=ascending=] order. 5. For each |index| which [=reference=] |store|, run these substeps: @@ -5857,7 +5857,7 @@ follows. containing |index key| as its key and |key| as its value. The record is stored in |index|'s [=index/list of records=] such that the list is sorted primarily on the records keys, - and secondarily on the records values, in ascending order. + and secondarily on the records values, in [=ascending=] order. 6. If |index|'s [=multiEntry flag=] is set and |index key| is an [=array key=], then for each |subkey| of the @@ -5866,7 +5866,7 @@ follows. records are stored in |index|'s [=index/list of records=] such that the list is sorted primarily on the records keys, and secondarily on the records values, in - ascending order. + [=ascending=] order.