adds a sorted marker