always sort x values