A computer-implemented method of sorting LiDAR data into groups is disclosed. A set LiDAR data points for a region of interest is received. Each of the LiDAR data points in the set is analysed to determine if a LiDAR data point has a position that is within an enclosed surface defined for one or more other LiDAR data points in the set and, if so, the LiDAR data point is added to a previously defined group of LiDAR data points associated with an object and if not, a new group of LiDAR data points associated with a new object is defined. A computer-implemented method of identifying LiDAR data points associated with individual trees in a forest is disclosed comprising receiving a set of LiDAR data points for a region of interest sorting the LiDAR data points based on a height of each LiDAR data point in the set defining a closed surface for each of the LiDAR data points in the set and defining a group of LiDAR data points that have overlapping closed surfaces as representing an individual tree.