Added a test for created sorting.