added Ordering-related tests and demos