The dish washer neither fills nor empties itself. Personally I'd pay an obscene amount of money to never have to sort my socks again.
Do what I do: buy only socks of 1 kind.
You still gotta deal with them though.
Just buy new socks every day. Use paper crockery. Job done.