added order direction to getWith()