allow to sort on several attributes of multiple classes