trying to optimize sorters at the ASM level