Added orderBy to selectRow