WP-3678 Added sort for rank options