How to store datetime from custom meta box so that it can be sorted by

Post meta is stored in the wp_postmeta table. Values are stored as longtext, not as dates or integers.

So your safest bet is to store these datetime fields as Unix timestamps. Then you can sort them using a meta query.