Commit order should always be returned by api.
Created attachment 338061 [details] Patch
Comment on attachment 338061 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=338061&action=review > Websites/perf.webkit.org/public/api/measurement-set.php:223 > + $order = !strlen($trimmed_order) ? NULL : intval($trimmed_order); I think it's a little more straight forward to do: strlen($trimmed_order) ? intval($trimmed_order) : NULL.