fix issue #58, improper point selection. plot now selects correct values in the table, despite sort order