Sort sum stats by genomic coordinates
sort_coords(sumstats_dt, sort_coordinates = TRUE)
data table obj of the summary statistics file for the GWAS
Whether to sort by coordinates.
Make CHR into an ordered factor to ensure they go from 1-22, X, Y.
Sorted sumstats_dt