[BUGFIX] Prevent empty sorting field to be quoted and put into an array