Added initial created sorting.

This fixes #153.

Preliminary PR. Do not merge yet. 

No tests, or anything.