`order_by` accepts an optarg. Fixes #3220