I want to keep a large ordered list (millions of elements) in Google App Engine datastore. Fast insertion is required.
The simplest way would be adding an indexed proper
You probably want to consider using app-engine-ranklist, which uses a tree-based structure to maintain a rank order in the datastore.
Or, if you can describe your requirements in more detail, maybe we can suggest an alternative that involves less overhead.