TTMinID()

TTMinID() has the same functionality as TTMin() but returns the ID of the minimum result.