Draft: builtin sorted
test added and start of timsort implementation