Index order in indexeddb is significant