added sort order type