add dynamic order statistics