fix select with key column order in __parseCmd()