return a sorted list of objects