use get_sorting_type instead of get_sorting_order
Merge pull request #1 from fossfreedom/master

use sorting_type instead of sorting_order