sort available values in wp modals
Merge pull request #1959 from opf/fix/sort_wp_modal_values

sort available values in wp modals