return sorted copy