Fix customer table sort and sort desc by default

Fixes #954