fix for sorting when custom column names are used on primary keys
0.0.17