// CheckSortKey determines whether the sort key is valid or not.
CheckSortKey determines whether the sort key is valid or not.
// CheckSortKey determines whether the sort key is valid or not .
func CheckSortKey(k string) error {
	switch k {
	case "", "created_at", "updated_at", "activated_at", "email":
		return nil
	}
	return httpflow.ErrInvalidSortKey
}
func CheckSortKey ( k string ) error { switch k { case " " , " " , " " , " " , " " : return nil } return httpflow . ErrInvalidSortKey }
CheckSortKey determines whether the sort key is valid or not.
CheckSortKey determines whether the sort key is valid or not .