format list sorting args the way docstore._clean_sort experts