SortBy on complex data with multiple sort keys