[1.3.x] Updated DBUtil for OrderBy and table prefix

ZWebstore uses this function and ordering of products is not working without this small update. It's an extra check for table prefix in the column checking. Not checked in 1.4.x. yet.

I have checked with other modules using DBUtil as well (e.g. Content), and there no problems arise due to this small change.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | -
| Fixed tickets | -
| Refs tickets  | -
| License       | MIT
| Doc PR        | -
Merge pull request #1924 from espaan/patch-12

[1.3.x] Updated DBUtil for OrderBy and table prefix