Added sorting to data handler, moved db package to pschool package.