Generic sort support automatic reverse sorting