how does sorting algorithm help data structures become more efficient?​