Use sorting as the method to split into different sections.