What table is the media’s sort order stored? May 24, 2022 by Tarik Billa This is the menu_order. You can sort by multiple values too. // Example 'orderby' => 'title menu_order'