fix sorting.
fix quoting