remove index from (as|des)cending arrays