Added callback to save post meta for docs sort order number.