added adapting marker on sorting