Commit with append and sort