First commit of recursive sorting