SQL bug on author_name sort