sorted_locks_derive Macro to aquire std::syn::RwLock or std::syn::Mutex locks with consistent order to prevent deadlock.