Fix sorted list in 10_Prefix_query