Added tests to custom class in Paginator::sort().