Google interview question

Here is a new data structure. Write a sorting algorithm and analyze it's complexity.