Spatial sorting is a critical component in determining the speed and variability of range expansion