add global sort by option