fixed section sorting errors