changed order direction