credit and reference table sorting library.