Improve comments, add spaces inside parentheses
Improve readability of custom_menu_order
Improve readability of remove_admin_menu_items

Remove some items by default, since they aren’t used often
Split add custom post type function

Making the function more reusable for more custom post types.
Optimising variable names and adding some example post types.