Add surrealSort