MDL-40466 libraries: Not deprecating get_sorted_contexts()