Times ordered by closest to farthest when returned
Fixed $inforesult to be $result