add utility functions for string sorting (wrapping qsort), to libericstools, call that instead of embedding in gpkg