added a callable to the collection ordering function. created a unit test for it. Now with all files