Thank you for the patch! If someone sets `Spree::LineItem.table_name` to be a different value, this might break the query. A better way to do this would be `order: "#{Spree::LineItem.table_name}.created_at ASC". I know it's a bit unusual, but this is just to be consistent across the codebase, because we do it in other places like in the products scope too.

Other than that, this patch is great. Thank you for doing the work on it!