order featues by priority