unit test for AbstractDemandedRepository::createOrderingsFromDemand added.
Test for setting default order direction when value is missing in orderings from demand