Sorted derived collection unit test

As discussed in issue #154, here is a failing unit test for a sorted derived collection.