TTMaxID()

TTMaxID() has the same functionality as TTMax() but returns the ID of the maximum result.