Re-ordered selectTable() functions parameters