There's a fix for Windows 10 rearranging your desktop icons when you connect/disconnect from multiple monitors! I hope this works for the arrangement of windows when your computer wakes up from sleep too!
Microsoft is finally fixing Windows 10 rearranging apps on multiple monitors - The Verge
Microsoft is finally fixing Windows 10 rearranging apps on multiple monitors - The Verge