`order_by` accepts an optarg. Fixes #3220
Merge pull request #3221 from grandquista/next

`order_by` accepts an optarg. Fixes #3220