added sort to collection and > overload to cube